Struct const_guards::Guard
source · [−]pub struct Guard<const U: bool>;Trait Implementations
Auto Trait Implementations
impl<const U: bool> RefUnwindSafe for Guard<U>
impl<const U: bool> Send for Guard<U>
impl<const U: bool> Sync for Guard<U>
impl<const U: bool> Unpin for Guard<U>
impl<const U: bool> UnwindSafe for Guard<U>
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