pub struct LayoutProps {
pub direction: Option<Direction>,
pub align: Option<Alignment>,
pub justify: Option<Justification>,
pub gap: Option<String>,
pub padding: Option<String>,
pub children: Option<String>,
}
Expand description
Layout props
Fields§
§direction: Option<Direction>
Layout direction (row, column)
align: Option<Alignment>
Layout alignment
justify: Option<Justification>
Layout justification
gap: Option<String>
Layout gap
padding: Option<String>
Layout padding
children: Option<String>
Child content
Trait Implementations§
Source§impl Clone for LayoutProps
impl Clone for LayoutProps
Source§fn clone(&self) -> LayoutProps
fn clone(&self) -> LayoutProps
Returns a copy 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 LayoutProps
impl RefUnwindSafe for LayoutProps
impl Send for LayoutProps
impl Sync for LayoutProps
impl Unpin for LayoutProps
impl UnwindSafe for LayoutProps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting