pub struct LayoutNode {
pub id: WidgetId,
pub direction: LayoutDirection,
pub constraints: LayoutConstraints,
pub margin: Insetsf,
pub padding: Insetsf,
pub flex_grow: f32,
pub alignment: Alignment,
pub preferred_size: Option<Sizef>,
}Fields§
§id: WidgetId§direction: LayoutDirection§constraints: LayoutConstraints§margin: Insetsf§padding: Insetsf§flex_grow: f32§alignment: Alignment§preferred_size: Option<Sizef>Trait Implementations§
Source§impl Clone for LayoutNode
impl Clone for LayoutNode
impl Copy for LayoutNode
Source§impl Debug for LayoutNode
impl Debug for LayoutNode
Source§impl Default for LayoutNode
impl Default for LayoutNode
Source§impl PartialEq for LayoutNode
impl PartialEq for LayoutNode
impl StructuralPartialEq for LayoutNode
Auto Trait Implementations§
impl Forget for LayoutNode
impl Freeze for LayoutNode
impl Move for LayoutNode
impl RefUnwindSafe for LayoutNode
impl Send for LayoutNode
impl Sync for LayoutNode
impl Unpin for LayoutNode
impl UnsafeUnpin for LayoutNode
impl UnwindSafe for LayoutNode
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