pub struct StackProps {
pub direction: StackDirection,
pub spacing: StackSpacing,
pub align: StackAlign,
pub justify: StackJustify,
pub wrap: bool,
pub class: Option<String>,
}Expand description
Properties for the Stack component.
Fields§
§direction: StackDirection§spacing: StackSpacing§align: StackAlign§justify: StackJustify§wrap: bool§class: Option<String>Trait Implementations§
Source§impl Clone for StackProps
impl Clone for StackProps
Source§fn clone(&self) -> StackProps
fn clone(&self) -> StackProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StackProps
impl Debug for StackProps
Source§impl Default for StackProps
impl Default for StackProps
Source§fn default() -> StackProps
fn default() -> StackProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for StackProps
impl PartialEq for StackProps
Source§fn eq(&self, other: &StackProps) -> bool
fn eq(&self, other: &StackProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StackProps
Auto Trait Implementations§
impl Freeze for StackProps
impl RefUnwindSafe for StackProps
impl Send for StackProps
impl Sync for StackProps
impl Unpin for StackProps
impl UnsafeUnpin for StackProps
impl UnwindSafe for StackProps
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