enum MustUse {
Yes,
No,
}Expand description
Whether @must_use applies to a call expression.
Variants§
Trait Implementations§
impl Copy for MustUse
Auto Trait Implementations§
impl Freeze for MustUse
impl RefUnwindSafe for MustUse
impl Send for MustUse
impl Sync for MustUse
impl Unpin for MustUse
impl UnwindSafe for MustUse
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