Enum xlang_syntax::ast::AssignOp
source · [−]pub enum AssignOp {
Assign,
AssignAdd,
AssignSub,
AssignMul,
AssignDiv,
AssignMod,
AssignBitOr,
AssignBitXor,
AssignShl,
AssignShr,
}Expand description
An assignment operator.
Variants
Assign
AssignAdd
AssignSub
AssignMul
AssignDiv
AssignMod
AssignBitOr
AssignBitXor
AssignShl
AssignShr
Trait Implementations
impl Copy for AssignOp
impl StructuralPartialEq for AssignOp
Auto Trait Implementations
impl RefUnwindSafe for AssignOp
impl Send for AssignOp
impl Sync for AssignOp
impl Unpin for AssignOp
impl UnwindSafe for AssignOp
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