pub trait AdaptWidgetAny: Widget<Data = ()> + Sized {
// Provided method
fn map_any<A>(self) -> MapAny<A, Self> { ... }
}
Expand description
Provides .map_any()
TODO: move to AdaptWidget
with where Self::Data == ()
constraint
once supported (Rust#20041).
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.