pub struct FrameGuard<'a> { /* private fields */ }Expand description
RAII guard that calls begin_frame and end_frame automatically.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FrameGuard<'a>
impl<'a> !RefUnwindSafe for FrameGuard<'a>
impl<'a> Send for FrameGuard<'a>
impl<'a> Sync for FrameGuard<'a>
impl<'a> Unpin for FrameGuard<'a>
impl<'a> UnsafeUnpin for FrameGuard<'a>
impl<'a> !UnwindSafe for FrameGuard<'a>
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