Trait druid::widget::WidgetWrapper
source · pub trait WidgetWrapper {
type Wrapped;
// Required methods
fn wrapped(&self) -> &Self::Wrapped;
fn wrapped_mut(&mut self) -> &mut Self::Wrapped;
}
Expand description
A trait for widgets that wrap a single child to expose that child for access and mutation
Required Associated Types§
Required Methods§
sourcefn wrapped_mut(&mut self) -> &mut Self::Wrapped
fn wrapped_mut(&mut self) -> &mut Self::Wrapped
Get mutable access to the wrapped child