[][src]Struct iron_oxide::CAMetalLayer

pub struct CAMetalLayer(_);

Implementations

impl CAMetalLayer[src]

pub unsafe fn new() -> CAMetalLayer[src]

pub unsafe fn set_device(&self, device: &MTLDevice)[src]

pub unsafe fn set_pixel_format(&self, format: MTLPixelFormat)[src]

pub unsafe fn set_framebuffer_only(&self, only: bool)[src]

pub unsafe fn set_drawable_size(&self, size: CGSize)[src]

pub unsafe fn set_vsync(&self, enabled: bool)[src]

pub unsafe fn wants_extended_dynamic_range_content(&self, wants: bool)[src]

pub unsafe fn next_drawable(&self) -> Option<CAMetalDrawable>[src]

Trait Implementations

impl Drop for CAMetalLayer[src]

impl Object for CAMetalLayer[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.