Trait cushy::context::MapManagedWidget
source · pub trait MapManagedWidget<T> {
type Result;
// Required method
fn map(self, map: impl FnOnce(MountedWidget) -> T) -> Self::Result;
}
Expand description
A type that can produce another type when provided a MountedWidget
.
Required Associated Types§
Required Methods§
sourcefn map(self, map: impl FnOnce(MountedWidget) -> T) -> Self::Result
fn map(self, map: impl FnOnce(MountedWidget) -> T) -> Self::Result
Call map
with a MountedWidget
.
Object Safety§
This trait is not object safe.