Trait Track

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

Allows tracking the value of some reactive data.

Required Methodsยง

fn track(&self)

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

Implementations on Foreign Typesยง

ยง

impl Track for Vec<ArcTrigger>

ยง

fn track(&self)

ยง

impl<Inner, Prev> Track for AtIndex<Inner, Prev>
where Inner: StoreField<Value = Prev> + Send + Sync + Clone + 'static, Prev: IndexMut<usize> + 'static, <Prev as Index<usize>>::Output: Sized + 'static,

ยง

fn track(&self)

ยง

impl<Inner, Prev, K, T> Track for AtKeyed<Inner, Prev, K, T>
where K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static, KeyedSubfield<Inner, Prev, K, T>: Clone, &'a T: for<'a> IntoIterator, Inner: StoreField<Value = Prev>, Prev: 'static, T: IndexMut<usize>, <T as Index<usize>>::Output: Sized,

ยง

fn track(&self)

ยง

impl<Inner, Prev, K, T> Track for KeyedSubfield<Inner, Prev, K, T>
where KeyedSubfield<Inner, Prev, K, T>: Clone, &'a T: for<'a> IntoIterator, Inner: StoreField<Value = Prev> + Track + 'static, Prev: 'static, T: 'static, K: Debug + Send + Sync + PartialEq + Eq + Hash + 'static,

ยง

fn track(&self)

ยง

impl<Inner, Prev, T> Track for Subfield<Inner, Prev, T>
where Inner: StoreField<Value = Prev> + Track + 'static, Prev: 'static, T: 'static,

ยง

fn track(&self)

ยง

impl<S> Track for DerefedField<S>
where S: StoreField, <S as StoreField>::Value: Deref + DerefMut, <<S as StoreField>::Value as Deref>::Target: Sized + 'static,

ยง

fn track(&self)

ยง

impl<T> Track for ArcField<T>

ยง

fn track(&self)

ยง

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

ยง

fn track(&self)

ยง

impl<T, S> Track for Field<T, S>
where S: Storage<ArcField<T>>,

ยง

fn track(&self)

ยง

impl<T, S> Track for Store<T, S>
where T: 'static, S: Storage<ArcStore<T>>,

ยง

fn track(&self)

Implementorsยง

ยง

impl<E> Track for NodeRef<E>
where E: ElementType, <E as ElementType>::Output: JsCast + 'static,

ยง

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

ยง

impl<T> Track for ArcMappedSignal<T>

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

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

ยง

impl<T, Ser> Track for ArcOnceResource<T, Ser>

ยง

impl<T, Ser> Track for ArcResource<T, Ser>
where T: 'static,

ยง

impl<T, Ser> Track for OnceResource<T, Ser>
where T: Send + Sync + 'static, Ser: 'static,

ยง

impl<T, Ser> Track for Resource<T, Ser>
where T: Send + Sync + 'static,