pub struct LayoutConfig {
pub sizing: SizingConfig,
pub padding: PaddingConfig,
pub child_gap: u16,
pub child_alignment: ChildAlignmentConfig,
pub layout_direction: LayoutDirection,
}Fields§
§sizing: SizingConfig§padding: PaddingConfig§child_gap: u16§child_alignment: ChildAlignmentConfig§layout_direction: LayoutDirectionTrait Implementations§
Source§impl Clone for LayoutConfig
impl Clone for LayoutConfig
Source§fn clone(&self) -> LayoutConfig
fn clone(&self) -> LayoutConfig
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 LayoutConfig
impl Debug for LayoutConfig
Source§impl Default for LayoutConfig
impl Default for LayoutConfig
Source§fn default() -> LayoutConfig
fn default() -> LayoutConfig
Returns the “default value” for a type. Read more
impl Copy for LayoutConfig
Auto Trait Implementations§
impl Freeze for LayoutConfig
impl RefUnwindSafe for LayoutConfig
impl Send for LayoutConfig
impl Sync for LayoutConfig
impl Unpin for LayoutConfig
impl UnsafeUnpin for LayoutConfig
impl UnwindSafe for LayoutConfig
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