pub struct CARenderer(/* private fields */);👎Deprecated: use the objc2-quartz-core crate instead
Implementations§
Source§impl CARenderer
impl CARenderer
pub fn id(&self) -> id
👎Deprecated: use the objc2-quartz-core crate instead
pub unsafe fn from_cgl_context( context: CGLContextObj, color_space: Option<CGColorSpace>, ) -> CARenderer
👎Deprecated: use the objc2-quartz-core crate instead
pub unsafe fn from_metal_texture( metal_texture: id, metal_command_queue: id, color_space: Option<CGColorSpace>, ) -> CARenderer
👎Deprecated: use the objc2-quartz-core crate instead
pub fn layer(&self) -> Option<CALayer>
👎Deprecated: use the objc2-quartz-core crate instead
pub fn set_layer(&self, layer: Option<CALayer>)
👎Deprecated: use the objc2-quartz-core crate instead
pub fn bounds(&self) -> CGRect
👎Deprecated: use the objc2-quartz-core crate instead
pub fn set_bounds(&self, bounds: CGRect)
👎Deprecated: use the objc2-quartz-core crate instead
pub fn begin_frame_at( &self, time: CFTimeInterval, timestamp: Option<&CVTimeStamp>, )
👎Deprecated: use the objc2-quartz-core crate instead
pub fn update_bounds(&self) -> CGRect
👎Deprecated: use the objc2-quartz-core crate instead
pub fn add_update_rect(&self, rect: CGRect)
👎Deprecated: use the objc2-quartz-core crate instead
pub fn render(&self)
👎Deprecated: use the objc2-quartz-core crate instead
pub fn next_frame_time(&self) -> CFTimeInterval
👎Deprecated: use the objc2-quartz-core crate instead
pub fn end_frame(&self)
👎Deprecated: use the objc2-quartz-core crate instead
pub unsafe fn set_destination(&self, metal_texture: id)
👎Deprecated: use the objc2-quartz-core crate instead
Trait Implementations§
Source§impl Clone for CARenderer
impl Clone for CARenderer
Source§fn clone(&self) -> CARenderer
fn clone(&self) -> CARenderer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Drop for CARenderer
impl Drop for CARenderer
impl Send for CARenderer
impl Sync for CARenderer
Auto Trait Implementations§
impl Freeze for CARenderer
impl RefUnwindSafe for CARenderer
impl Unpin for CARenderer
impl UnwindSafe for CARenderer
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