pub trait GroupBuilderExt {
// Required methods
fn group(self, group: impl GroupExt) -> Self;
fn widget(self, widget: impl WidgetExt) -> Self;
fn as_resizeable(self, val: bool) -> Self;
fn with_clip_children(self, flag: bool) -> Self;
}Expand description
Defines all necessary functions for group widgets to add widgets and other groups as children, as well as builder friendly versions of several setter functions
Required Methods§
Sourcefn as_resizeable(self, val: bool) -> Self
fn as_resizeable(self, val: bool) -> Self
Make the group itself resizable
Sourcefn with_clip_children(self, flag: bool) -> Self
fn with_clip_children(self, flag: bool) -> Self
Clips children outside the group boundaries
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.