#[non_exhaustive]pub enum DestructuredMut<'a> {
Null,
Bool(bool),
Number(&'a mut VNumber),
String(&'a mut VString),
Bytes(&'a mut VBytes),
Array(&'a mut VArray),
Object(&'a mut VObject),
DateTime(&'a mut VDateTime),
QName(&'a mut VQName),
Uuid(&'a mut VUuid),
Char(char),
}Expand description
Enum for destructuring a Value by mutable reference.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Null
Null value
Bool(bool)
Boolean value (use the mutable reference to the Value itself to change it)
Number(&'a mut VNumber)
Number value
String(&'a mut VString)
String value
Bytes(&'a mut VBytes)
Bytes value
Array(&'a mut VArray)
Array value
Object(&'a mut VObject)
Object value
DateTime(&'a mut VDateTime)
DateTime value
QName(&'a mut VQName)
Qualified name value
Uuid(&'a mut VUuid)
UUID value
Char(char)
Char value
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for DestructuredMut<'a>
impl<'a> Freeze for DestructuredMut<'a>
impl<'a> RefUnwindSafe for DestructuredMut<'a>
impl<'a> Send for DestructuredMut<'a>
impl<'a> Sync for DestructuredMut<'a>
impl<'a> Unpin for DestructuredMut<'a>
impl<'a> UnsafeUnpin for DestructuredMut<'a>
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