pub struct DescriptorGuard<T> { /* private fields */ }
Expand description
DescriptorGuard<T>
can produce a FifoDescriptor<T>
that is guaranteed
to remain valid as long as the DescriptorGuard is not dropped.
Implementations§
Source§impl<T> DescriptorGuard<T>
impl<T> DescriptorGuard<T>
pub fn fifo_descriptor(&self) -> FifoDescriptor<T>
Auto Trait Implementations§
impl<T> Freeze for DescriptorGuard<T>
impl<T> RefUnwindSafe for DescriptorGuard<T>where
T: RefUnwindSafe,
impl<T> !Send for DescriptorGuard<T>
impl<T> !Sync for DescriptorGuard<T>
impl<T> Unpin for DescriptorGuard<T>
impl<T> UnwindSafe for DescriptorGuard<T>where
T: RefUnwindSafe,
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