Trait GetUntracked

pub trait GetUntracked: DefinedAt {
    type Value;

    // Required method
    fn try_get_untracked(&self) -> Option<Self::Value>;

    // Provided method
    fn get_untracked(&self) -> Self::Value { ... }
}
Expand description

Clones the value of the signal, without tracking the value reactively.

Required Associated Types§

type Value

The type of the value contained in the signal.

Required Methods§

fn try_get_untracked(&self) -> Option<Self::Value>

Clones and returns the value of the signal, or None if the signal has already been disposed.

Provided Methods§

fn get_untracked(&self) -> Self::Value

Clones and returns the value of the signal,

§Panics

Panics if you try to access a signal that has been disposed.

Implementors§