pub struct Handle { /* private fields */ }Implementations§
Source§impl Handle
impl Handle
pub fn frame(&self, work: Duration)
pub fn frame_with(&self, cpu: Duration, gpu: Option<Duration>)
pub fn frame_idle(&self)
pub fn detail(&self, text: &str)
pub fn size(&self, w: u32, h: u32)
pub fn renderer(&self, name: &str)
pub fn passes(&self, passes: &[(&str, f64)])
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Handle
impl !RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl UnsafeUnpin for Handle
impl !UnwindSafe for Handle
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