Struct zaplib::LayoutSize
source · [−]Expand description
Determines how a [CxLayoutBox
] should walk. Can be applied to a new [CxLayoutBox
]
through [Layout::layout_size
], or directly to move an existing [CxLayoutBox
] by
using Cx::add_box
.
Fields
width: Width
height: Height
Implementations
TODO(JP): Replace these with Align::default() when https://github.com/rust-lang/rust/issues/67792 gets done
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LayoutSize
impl Send for LayoutSize
impl Sync for LayoutSize
impl Unpin for LayoutSize
impl UnwindSafe for LayoutSize
Blanket Implementations
Mutably borrows from an owned value. Read more