pub struct FrameRetained<'a, T> { /* private fields */ }Expand description
Handle to a frame allocation with retention policy.
This wraps a frame allocation and tracks it for potential promotion at frame end.
Implementations§
Source§impl<'a, T> FrameRetained<'a, T>
impl<'a, T> FrameRetained<'a, T>
Sourcepub fn as_mut_ptr(&mut self) -> *mut T
pub fn as_mut_ptr(&mut self) -> *mut T
Get the raw mutable pointer.
Trait Implementations§
Source§impl<'a, T> Deref for FrameRetained<'a, T>
impl<'a, T> Deref for FrameRetained<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for FrameRetained<'a, T>
impl<'a, T> RefUnwindSafe for FrameRetained<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for FrameRetained<'a, T>
impl<'a, T> !Sync for FrameRetained<'a, T>
impl<'a, T> Unpin for FrameRetained<'a, T>
impl<'a, T> !UnwindSafe for FrameRetained<'a, T>
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