pub struct Empty<T, const TOTAL: u64 = 2> { /* private fields */ }
Expand description
Token that represents the “empty” state of a fractional resource system.
See Frac
for more information.
Implementations§
Auto Trait Implementations§
impl<T, const TOTAL: u64> Freeze for Empty<T, TOTAL>
impl<T, const TOTAL: u64> RefUnwindSafe for Empty<T, TOTAL>where
T: RefUnwindSafe,
impl<T, const TOTAL: u64> Send for Empty<T, TOTAL>
impl<T, const TOTAL: u64> Sync for Empty<T, TOTAL>
impl<T, const TOTAL: u64> Unpin for Empty<T, TOTAL>where
T: Unpin,
impl<T, const TOTAL: u64> UnwindSafe for Empty<T, TOTAL>where
T: UnwindSafe,
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