Trait ResGet
pub trait ResGet<T> {
// Required methods
fn get_ref<'a>(
&'a self,
cx: &'a impl DataContext,
) -> Option<LensValue<'a, T>>;
fn get(&self, _: &impl DataContext) -> T;
}
Required Methods§
fn get_ref<'a>(&'a self, cx: &'a impl DataContext) -> Option<LensValue<'a, T>>
fn get(&self, _: &impl DataContext) -> T
Object Safety§
This trait is not object safe.