Skip to main content

Track

Trait Track 

Source
pub trait Track {
    // Required method
    fn track(&self);
}
Expand description

Allows tracking the value of some reactive data.

Required Methods§

Source

fn track(&self)

Subscribes to this signal in the current reactive scope without doing anything with its value.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Track for Vec<ArcTrigger>

Source§

fn track(&self)

Source§

impl<T> Track for Option<T>
where T: Track,

Source§

fn track(&self)

Implementors§

Source§

impl<T, S> Track for ArcSignal<T, S>
where S: Storage<T>,

Source§

impl<T, S> Track for MaybeProp<T, S>
where S: Storage<Option<T>> + Storage<SignalTypes<Option<T>, S>>,

Source§

impl<T, S> Track for MaybeSignal<T, S>
where S: Storage<T> + Storage<SignalTypes<T, S>>,

Source§

impl<T, S> Track for Memo<T, S>
where T: 'static, S: Storage<ArcMemo<T, S>> + Storage<T>, ArcMemo<T, S>: Track,

Source§

impl<T, S> Track for Signal<T, S>
where T: 'static, S: Storage<T> + Storage<SignalTypes<T, S>>,

Source§

impl<T: Source + ToAnySource + DefinedAt> Track for T

Source§

impl<T> Track for ArcMappedSignal<T>

Source§

impl<T> Track for MappedSignal<T>
where T: 'static,