pub trait LayoutChildExt: IsA<LayoutChild> + 'static {
// Provided methods
fn child_widget(&self) -> Widget { ... }
fn layout_manager(&self) -> LayoutManager { ... }
}
Expand description
Trait containing all LayoutChild
methods.
§Implementors
ConstraintLayoutChild
, FixedLayoutChild
, GridLayoutChild
, LayoutChild
, OverlayLayoutChild
Provided Methods§
Sourcefn child_widget(&self) -> Widget
fn child_widget(&self) -> Widget
Sourcefn layout_manager(&self) -> LayoutManager
fn layout_manager(&self) -> LayoutManager
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.