pub struct Stack { /* private fields */ }Implementations§
Source§impl Stack
impl Stack
pub fn new() -> Stack
pub fn vertical() -> Stack
pub fn horizontal() -> Stack
pub fn direction(self, dir: StackDirection) -> Stack
pub fn gap(self, gap: String) -> Stack
pub fn align(self, align: StackAlign) -> Stack
pub fn justify(self, justify: StackJustify) -> Stack
pub fn padding(self, padding: String) -> Stack
pub fn width(self, width: String) -> Stack
pub fn height(self, height: String) -> Stack
pub fn child(self, child: String) -> Stack
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stack
impl RefUnwindSafe for Stack
impl Send for Stack
impl Sync for Stack
impl Unpin for Stack
impl UnwindSafe for Stack
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