[][src]Struct observe::Var

pub struct Var<T> where
    T: Hash + 'static, 
{ /* fields omitted */ }

Implementations

impl<T> Var<T> where
    T: Hash + 'static, 
[src]

pub fn new(value: T) -> Self[src]

Methods from Deref<Target = Arc<VarBody<T>>>

Trait Implementations

impl<T> Clone for Var<T> where
    T: Hash + 'static, 
[src]

impl<T> Debug for Var<T> where
    T: Hash + Debug + 'static, 
[src]

impl<T> Deref for Var<T> where
    T: Hash + 'static, 
[src]

type Target = Arc<VarBody<T>>

The resulting type after dereferencing.

impl<T> From<Var<T>> for Value<T> where
    T: Hash + 'static, 
[src]

impl<T> Observable<T> for Var<T> where
    T: Hash + 'static, 
[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Var<T>

impl<T> !Send for Var<T>

impl<T> !Sync for Var<T>

impl<T> Unpin for Var<T>

impl<T> !UnwindSafe for Var<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.