Trait dioxus_signals::ReadableOptionExt
source · pub trait ReadableOptionExt<T: 'static>: Readable<Target = Option<T>> {
// Provided methods
fn unwrap(&self) -> T
where T: Clone { ... }
fn as_ref(&self) -> Option<ReadableRef<'_, Self, T>> { ... }
}Expand description
An extension trait for Readable<Option
Provided Methods§
sourcefn as_ref(&self) -> Option<ReadableRef<'_, Self, T>>
fn as_ref(&self) -> Option<ReadableRef<'_, Self, T>>
Attempts to read the inner value of the Option.
Object Safety§
This trait is not object safe.