pub enum RAssignOp {
LeftArrow,
SuperArrow,
Equals,
RightArrow,
}Expand description
Assignment operator variant.
Variants§
LeftArrow
<- (standard)
SuperArrow
<<- (global / super-assignment)
Equals
= (function args context, or R2 style)
RightArrow
-> (right-assign, uncommon)
Trait Implementations§
impl Eq for RAssignOp
impl StructuralPartialEq for RAssignOp
Auto Trait Implementations§
impl Freeze for RAssignOp
impl RefUnwindSafe for RAssignOp
impl Send for RAssignOp
impl Sync for RAssignOp
impl Unpin for RAssignOp
impl UnsafeUnpin for RAssignOp
impl UnwindSafe for RAssignOp
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