pub struct Grade<const G: usize>;Expand description
Phantom type for compile-time grade tracking
Auto Trait Implementations§
impl<const G: usize> Freeze for Grade<G>
impl<const G: usize> RefUnwindSafe for Grade<G>
impl<const G: usize> Send for Grade<G>
impl<const G: usize> Sync for Grade<G>
impl<const G: usize> Unpin for Grade<G>
impl<const G: usize> UnwindSafe for Grade<G>
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