Enum sppparse::SparsePointedValue[][src]

pub enum SparsePointedValue<S> {
    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

Implementations

impl<S> SparsePointedValue<S>[src]

pub fn default_boxed() -> Box<Self>[src]

Trait Implementations

impl<S: Clone> Clone for SparsePointedValue<S>[src]

impl<S: Debug> Debug for SparsePointedValue<S>[src]

impl<S> Default for SparsePointedValue<S>[src]

impl<'de, S> Deserialize<'de> for SparsePointedValue<S> where
    S: Deserialize<'de>, 
[src]

impl<S: PartialEq> PartialEq<SparsePointedValue<S>> for SparsePointedValue<S>[src]

impl<S> Serialize for SparsePointedValue<S> where
    S: Serialize
[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]

impl<S> StructuralPartialEq for SparsePointedValue<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for SparsePointedValue<S> where
    S: RefUnwindSafe

impl<S> Send for SparsePointedValue<S> where
    S: Send

impl<S> Sync for SparsePointedValue<S> where
    S: Sync

impl<S> Unpin for SparsePointedValue<S> where
    S: Unpin

impl<S> UnwindSafe for SparsePointedValue<S> where
    S: UnwindSafe

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>,