Struct core_graphics::display::CGDisplayMode [−][src]
pub struct CGDisplayMode(_);
Implementations
pub fn all_display_modes(
display_id: CGDirectDisplayID,
options: CFDictionaryRef
) -> Option<Vec<CGDisplayMode>>
pub fn all_display_modes(
display_id: CGDirectDisplayID,
options: CFDictionaryRef
) -> Option<Vec<CGDisplayMode>>
Returns all display modes for the specified display id.
Returns the pixel height of the specified display mode.
Returns the pixel width of the specified display mode.
Returns the pixel encoding of the specified display mode.
Returns the number of bits per pixel of the specified display mode.
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
type Target = CGDisplayModeRef
type Target = CGDisplayModeRef
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for CGDisplayMode
impl !Send for CGDisplayMode
impl !Sync for CGDisplayMode
impl Unpin for CGDisplayMode
impl UnwindSafe for CGDisplayMode
Blanket Implementations
Mutably borrows from an owned value. Read more