[−][src]Struct cocoa::quartzcore::CARenderer
Implementations
impl CARenderer
[src]
pub fn id(&self) -> id
[src]
pub unsafe fn from_cgl_context(
context: CGLContextObj,
color_space: Option<CGColorSpace>
) -> CARenderer
[src]
context: CGLContextObj,
color_space: Option<CGColorSpace>
) -> CARenderer
pub unsafe fn from_metal_texture(
metal_texture: id,
metal_command_queue: id,
color_space: Option<CGColorSpace>
) -> CARenderer
[src]
metal_texture: id,
metal_command_queue: id,
color_space: Option<CGColorSpace>
) -> CARenderer
pub fn layer(&self) -> Option<CALayer>
[src]
pub fn set_layer(&self, layer: Option<CALayer>)
[src]
pub fn bounds(&self) -> CGRect
[src]
pub fn set_bounds(&self, bounds: CGRect)
[src]
pub fn begin_frame_at(
&self,
time: CFTimeInterval,
timestamp: Option<&CVTimeStamp>
)
[src]
&self,
time: CFTimeInterval,
timestamp: Option<&CVTimeStamp>
)
pub fn update_bounds(&self) -> CGRect
[src]
pub fn add_update_rect(&self, rect: CGRect)
[src]
pub fn render(&self)
[src]
pub fn next_frame_time(&self) -> CFTimeInterval
[src]
pub fn end_frame(&self)
[src]
pub unsafe fn set_destination(&self, metal_texture: id)
[src]
Trait Implementations
impl Clone for CARenderer
[src]
fn clone(&self) -> CARenderer
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Drop for CARenderer
[src]
impl Send for CARenderer
[src]
impl Sync for CARenderer
[src]
Auto Trait Implementations
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,