pub struct FlexItemStyle {
pub order: i32,
pub grow: f32,
pub shrink: f32,
pub basis: Length,
pub align_self: Option<CrossAlign>,
}Fields§
§order: i32Visual order within a flex container.
This matches the web flexbox order property: it affects layout order only and does not
change tree order (e.g. focus navigation that follows element order).
grow: f32§shrink: f32§basis: Length§align_self: Option<CrossAlign>Trait Implementations§
Source§impl Clone for FlexItemStyle
impl Clone for FlexItemStyle
Source§fn clone(&self) -> FlexItemStyle
fn clone(&self) -> FlexItemStyle
Returns a duplicate of the value. Read more
1.0.0 · 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 FlexItemStyle
impl Debug for FlexItemStyle
Source§impl Default for FlexItemStyle
impl Default for FlexItemStyle
Source§impl PartialEq for FlexItemStyle
impl PartialEq for FlexItemStyle
impl Copy for FlexItemStyle
impl StructuralPartialEq for FlexItemStyle
Auto Trait Implementations§
impl Freeze for FlexItemStyle
impl RefUnwindSafe for FlexItemStyle
impl Send for FlexItemStyle
impl Sync for FlexItemStyle
impl Unpin for FlexItemStyle
impl UnsafeUnpin for FlexItemStyle
impl UnwindSafe for FlexItemStyle
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