pub struct CAMetalDrawable(/* private fields */);Implementations§
Source§impl CAMetalDrawable
impl CAMetalDrawable
pub unsafe fn get_texture(&self) -> MTLTexture
Trait Implementations§
Source§impl Drop for CAMetalDrawable
impl Drop for CAMetalDrawable
Source§impl MTLDrawable for CAMetalDrawable
impl MTLDrawable for CAMetalDrawable
unsafe fn get_id(&self) -> NSUInteger
unsafe fn present(&self)
unsafe fn present_after_minimum_duration(&self, duration: f64)
unsafe fn present_at_time(&self, time: f64)
unsafe fn get_presented_time(&self) -> f64
Source§impl Object for CAMetalDrawable
impl Object for CAMetalDrawable
Auto Trait Implementations§
impl Freeze for CAMetalDrawable
impl RefUnwindSafe for CAMetalDrawable
impl !Send for CAMetalDrawable
impl !Sync for CAMetalDrawable
impl Unpin for CAMetalDrawable
impl UnwindSafe for CAMetalDrawable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more