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<Inner, Prev, K, T> Track for AtKeyed<Inner, Prev, K, T>
where K: Clone + 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: KeyedAccess<K>, <T as KeyedAccess<K>>::Value: Sized,

Source§

fn track(&self)

Source§

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,

Source§

fn track(&self)

Source§

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

Source§

fn track(&self)

Source§

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,

Source§

fn track(&self)

Source§

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

Source§

fn track(&self)

Source§

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

Source§

fn track(&self)

Source§

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

Source§

fn track(&self)

Source§

impl<T> Track for ArcField<T>

Source§

fn track(&self)

Source§

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

Source§

fn track(&self)

Source§

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

Source§

fn track(&self)

Implementors§

Source§

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

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, Ser> Track for ArcOnceResource<T, Ser>

Source§

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

Source§

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

Source§

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

Source§

impl<T> Track for ArcMappedSignal<T>

Source§

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

Source§

impl<T> Track for T