pub struct Group<'a> { /* private fields */ }Expand description
A composite container that renders multiple widgets in order.
Children are rendered in the order they were added. Each child receives the same area, so later children may overwrite earlier ones.
§Example
ⓘ
use ftui_widgets::group::Group;
let group = Group::new()
.push(background_widget)
.push(foreground_widget);
group.render(area, &mut frame);Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Group<'a>
impl<'a> !RefUnwindSafe for Group<'a>
impl<'a> !Send for Group<'a>
impl<'a> !Sync for Group<'a>
impl<'a> Unpin for Group<'a>
impl<'a> !UnwindSafe for Group<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more