[−][src]Struct iron_oxide::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]
unsafe fn from_ptr(ptr: ObjectPointer) -> Self where
Self: Sized,
[src]
Self: Sized,
fn get_ptr(&self) -> ObjectPointer
[src]
Auto Trait Implementations
impl RefUnwindSafe for CAMetalLayer
impl !Send for CAMetalLayer
impl !Sync for CAMetalLayer
impl Unpin for CAMetalLayer
impl UnwindSafe for CAMetalLayer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,