[][src]Struct subscript::reactive_sys::signal::Formula

pub struct Formula<T>(_);

Methods

impl<T: 'static> Formula<T>[src]

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

pub fn get_copy(&self) -> T where
    T: Clone
[src]

pub fn map<U: 'static>(&self, f: impl Fn(&T) -> U + 'static) -> Formula<U>[src]

pub fn zip<U: 'static>(&self, other: &dyn Reactive<U>) -> Formula<(T, U)> where
    T: Clone,
    U: Clone
[src]

Trait Implementations

impl<Msg: 'static> ViewExt<Msg> for Formula<String>[src]

impl<'_, Msg: 'static> ViewExt<Msg> for &'_ Formula<String>[src]

impl AttributeValue for Formula<bool>[src]

impl<'_> AttributeValue for &'_ Formula<bool>[src]

impl<T: 'static> Reactive<T> for Formula<T>[src]

impl<T> Clone for Formula<T>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T: 'static + Default> Default for Formula<T>[src]

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

Auto Trait Implementations

impl<T> !Sync for Formula<T>

impl<T> Unpin for Formula<T>

impl<T> !Send for Formula<T>

impl<T> !RefUnwindSafe for Formula<T>

impl<T> !UnwindSafe for Formula<T>

Blanket Implementations

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

impl<T> From<T> for 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]