Enum ijson::DestructuredMut [−][src]
pub enum DestructuredMut<'a> { Null, Bool(BoolMut<'a>), Number(&'a mut INumber), String(&'a mut IString), Array(&'a mut IArray), Object(&'a mut IObject), }
Enum returned by IValue::destructure_mut
to allow matching on the type of
a mutable reference to an IValue
.
Variants
Null.
Bool(BoolMut<'a>)
Boolean.
IValue
s do not directly contain booleans, so this variant contains
a proxy type which allows getting and setting the original IValue
as a bool
.
Number(&'a mut INumber)
Number.
String(&'a mut IString)
String.
Array(&'a mut IArray)
Array.
Object(&'a mut IObject)
Object.
Trait Implementations
Auto Trait Implementations
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> !UnwindSafe for DestructuredMut<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,