[][src]Enum ijson::DestructuredMut

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

Null.

Bool(BoolMut<'a>)

Boolean. IValues 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

impl<'a> Debug for DestructuredMut<'a>[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.