Struct core_graphics::display::CGDisplayMode
[−]
pub struct CGDisplayMode(_);
Methods
impl CGDisplayMode
[src]
fn height(&self) -> u64
[src]
fn width(&self) -> u64
[src]
fn pixel_height(&self) -> u64
[src]
fn pixel_width(&self) -> u64
[src]
fn refresh_rate(&self) -> f64
[src]
Trait Implementations
impl Drop for CGDisplayMode
impl Clone for CGDisplayMode
fn clone(&self) -> CGDisplayMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Deref for CGDisplayMode
type Target = CGDisplayModeRef
The resulting type after dereferencing.
fn deref(&self) -> &CGDisplayModeRef
Dereferences the value.
impl DerefMut for CGDisplayMode
fn deref_mut(&mut self) -> &mut CGDisplayModeRef
Mutably dereferences the value.
impl Borrow<CGDisplayModeRef> for CGDisplayMode
fn borrow(&self) -> &CGDisplayModeRef
Immutably borrows from an owned value. Read more
impl AsRef<CGDisplayModeRef> for CGDisplayMode
fn as_ref(&self) -> &CGDisplayModeRef
Performs the conversion.