[][src]Enum sppparse::SparsePointedValue

pub enum SparsePointedValue<S: DeserializeOwned + Serialize + SparsableTrait> {
    RefRaw(Box<SparseRefRaw<S>>),
    Obj(S),
    Ref(SparseRef<S>),
    Null,
}

A raw selector between a raw object, a raw pointer or an owned pointer

The SparsePointedValue allows to switch between a raw, unparsed pointer to a parsed pointer resolved at initialization.

Variants

RefRaw(Box<SparseRefRaw<S>>)
Obj(S)
Ref(SparseRef<S>)
Null

Trait Implementations

impl<S: Clone + DeserializeOwned + Serialize + SparsableTrait> Clone for SparsePointedValue<S>[src]

impl<S: Debug + DeserializeOwned + Serialize + SparsableTrait> Debug for SparsePointedValue<S>[src]

impl<S> Default for SparsePointedValue<S> where
    S: DeserializeOwned + Serialize + SparsableTrait
[src]

impl<'de, S: DeserializeOwned + Serialize + SparsableTrait> Deserialize<'de> for SparsePointedValue<S> where
    S: DeserializeOwned + Serialize + SparsableTrait
[src]

impl<S: DeserializeOwned + Serialize + SparsableTrait> Serialize for SparsePointedValue<S> where
    S: DeserializeOwned + Serialize + SparsableTrait
[src]

impl<S> Sparsable for SparsePointedValue<S> where
    S: DeserializeOwned + Serialize + SparsableTrait
[src]

impl<S> SparsePointerRaw<S> for SparsePointedValue<S> where
    S: DeserializeOwned + Serialize + SparsableTrait
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for SparsePointedValue<S> where
    S: RefUnwindSafe
[src]

impl<S> Send for SparsePointedValue<S> where
    S: Send
[src]

impl<S> Sync for SparsePointedValue<S> where
    S: Sync
[src]

impl<S> Unpin for SparsePointedValue<S> where
    S: Unpin
[src]

impl<S> UnwindSafe for SparsePointedValue<S> where
    S: UnwindSafe
[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,