pub trait SignalGet<T>where
T: Clone,{
// Required method
fn id(&self) -> Id;
// Provided methods
fn get_untracked(&self) -> T
where T: 'static { ... }
fn get(&self) -> T
where T: 'static { ... }
fn try_get(&self) -> Option<T>
where T: 'static { ... }
fn try_get_untracked(&self) -> Option<T>
where T: 'static { ... }
}Required Methods§
Provided Methods§
fn get_untracked(&self) -> Twhere
T: 'static,
fn get(&self) -> Twhere
T: 'static,
fn try_get(&self) -> Option<T>where
T: 'static,
fn try_get_untracked(&self) -> Option<T>where
T: 'static,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".