pub struct Stack<'a> { /* private fields */ }Expand description
Widgets one above the other, each rendered at the full width.
A child whose lines are all empty is skipped, so it leaves no gap. A child
may be borrowed, as in Stack::new().push(&widget), so a widget drawn in
two places needs no clone.
Implementations§
Trait Implementations§
Source§impl Renderable for Stack<'_>
impl Renderable for Stack<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Stack<'a>
impl<'a> !Send for Stack<'a>
impl<'a> !Sync for Stack<'a>
impl<'a> !UnwindSafe for Stack<'a>
impl<'a> Forget for Stack<'a>
impl<'a> Freeze for Stack<'a>
impl<'a> Unpin for Stack<'a>
impl<'a> UnsafeUnpin for Stack<'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