Struct vertigo::computed::Value[][src]

pub struct Value<T: 'static> {
    pub deps: Dependencies,
    // some fields omitted
}

Fields

deps: Dependencies

Implementations

impl<T: PartialEq + 'static> Value<T>[src]

pub fn new(deps: Dependencies, value: T) -> Value<T>[src]

pub fn set_value(&self, value: T)[src]

pub fn get_value(&self) -> Rc<T>[src]

pub fn to_computed(&self) -> Computed<T>[src]

pub fn id(&self) -> GraphId[src]

Trait Implementations

impl<T: PartialEq + 'static> Clone for Value<T>[src]

impl<T: PartialEq + 'static> PartialEq<Value<T>> for Value<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Value<T>[src]

impl<T> !Send for Value<T>[src]

impl<T> !Sync for Value<T>[src]

impl<T> Unpin for Value<T>[src]

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