Struct core_graphics::display::CGDisplayModeRef
source · pub struct CGDisplayModeRef(/* private fields */);
Expand description
A borrowed reference to a CGDisplayMode
.
Trait Implementations§
source§impl ForeignTypeRef for CGDisplayModeRef
impl ForeignTypeRef for CGDisplayModeRef
§type CType = CGDisplayMode
type CType = CGDisplayMode
The raw C type.
source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type. Read more
Auto Trait Implementations§
impl Freeze for CGDisplayModeRef
impl !RefUnwindSafe for CGDisplayModeRef
impl !Send for CGDisplayModeRef
impl !Sync for CGDisplayModeRef
impl Unpin for CGDisplayModeRef
impl UnwindSafe for CGDisplayModeRef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more