pub struct Assert<const C: bool>;
Expand description
Used to assert things about const generics
Trait Implementations
Auto Trait Implementations
impl<const C: bool> RefUnwindSafe for Assert<C>
impl<const C: bool> Send for Assert<C>
impl<const C: bool> Sync for Assert<C>
impl<const C: bool> Unpin for Assert<C>
impl<const C: bool> UnwindSafe for Assert<C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more