pub enum VariableMutability {
Constant,
Mutable {
reassignment_constraint: Option<TypeId>,
},
}Expand description
Shallow mutability
Variants§
Trait Implementations§
source§impl Clone for VariableMutability
impl Clone for VariableMutability
source§fn clone(&self) -> VariableMutability
fn clone(&self) -> VariableMutability
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for VariableMutability
impl Debug for VariableMutability
impl Copy for VariableMutability
Auto Trait Implementations§
impl RefUnwindSafe for VariableMutability
impl Send for VariableMutability
impl Sync for VariableMutability
impl Unpin for VariableMutability
impl UnwindSafe for VariableMutability
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