[][src]Struct serde_reflection::Variable

pub struct Variable<T>(_);

A mutable holder for an initially unknown value.

Implementations

impl<T> Variable<T>[src]

pub fn borrow(&self) -> Ref<'_, Option<T>>[src]

pub fn borrow_mut(&self) -> RefMut<'_, Option<T>>[src]

Trait Implementations

impl<T: Clone> Clone for Variable<T>[src]

impl<T: Debug> Debug for Variable<T>[src]

impl<T: Default> Default for Variable<T>[src]

impl<T: Eq> Eq for Variable<T>[src]

impl<T> FormatHolder for Variable<T> where
    T: FormatHolder + Debug + Clone
[src]

impl<T: PartialEq> PartialEq<Variable<T>> for Variable<T>[src]

impl<T> StructuralEq for Variable<T>[src]

impl<T> StructuralPartialEq for Variable<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Variable<T>

impl<T> !Send for Variable<T>

impl<T> !Sync for Variable<T>

impl<T> Unpin for Variable<T>

impl<T> !UnwindSafe for Variable<T>

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