Struct core_graphics::display::CGDisplayModeRef
source · pub struct CGDisplayModeRef(_);
Trait Implementations
sourceimpl AsRef<CGDisplayModeRef> for CGDisplayMode
impl AsRef<CGDisplayModeRef> for CGDisplayMode
sourcefn as_ref(&self) -> &CGDisplayModeRef
fn as_ref(&self) -> &CGDisplayModeRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<CGDisplayModeRef> for CGDisplayMode
impl Borrow<CGDisplayModeRef> for CGDisplayMode
sourcefn borrow(&self) -> &CGDisplayModeRef
fn borrow(&self) -> &CGDisplayModeRef
Immutably borrows from an owned value. Read more
sourceimpl ToOwned for CGDisplayModeRef
impl ToOwned for CGDisplayModeRef
type Owned = CGDisplayMode
type Owned = CGDisplayMode
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> CGDisplayMode
fn to_owned(&self) -> CGDisplayMode
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CGDisplayModeRef
impl Send for CGDisplayModeRef
impl !Sync for CGDisplayModeRef
impl Unpin for CGDisplayModeRef
impl UnwindSafe for CGDisplayModeRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more