pub struct FlexLayout {
pub direction: FlexDirection,
pub justify: JustifyContent,
pub align: AlignItems,
pub gap: f32,
pub padding: f32,
pub wrap: bool,
}Fields§
§direction: FlexDirection§justify: JustifyContent§align: AlignItems§gap: f32§padding: f32§wrap: boolImplementations§
Source§impl FlexLayout
impl FlexLayout
Trait Implementations§
Source§impl Clone for FlexLayout
impl Clone for FlexLayout
Source§fn clone(&self) -> FlexLayout
fn clone(&self) -> FlexLayout
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 moreAuto Trait Implementations§
impl Freeze for FlexLayout
impl RefUnwindSafe for FlexLayout
impl Send for FlexLayout
impl Sync for FlexLayout
impl Unpin for FlexLayout
impl UnsafeUnpin for FlexLayout
impl UnwindSafe for FlexLayout
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