pub enum Unop {
Minus,
Not,
Len,
BitNot,
}
Expand description
unop ::= ‘-’ | not | ‘#’ | ‘~’
Variants
Minus
Not
Len
BitNot
Trait Implementations
impl StructuralPartialEq for Unop
Auto Trait Implementations
impl RefUnwindSafe for Unop
impl Send for Unop
impl Sync for Unop
impl Unpin for Unop
impl UnwindSafe for Unop
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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