pub enum AssignmentStyle {
Assignment,
Destructure,
}Expand description
The style of assignment (used internally by lower_assignment).
Variants§
Trait Implementations§
Source§impl Clone for AssignmentStyle
impl Clone for AssignmentStyle
Source§fn clone(&self) -> AssignmentStyle
fn clone(&self) -> AssignmentStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AssignmentStyle
Auto Trait Implementations§
impl Freeze for AssignmentStyle
impl RefUnwindSafe for AssignmentStyle
impl Send for AssignmentStyle
impl Sync for AssignmentStyle
impl Unpin for AssignmentStyle
impl UnsafeUnpin for AssignmentStyle
impl UnwindSafe for AssignmentStyle
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