pub enum LayoutResult {
Fit(RenderNode),
Split {
current: RenderNode,
remainder: Element,
},
}Expand description
Result of laying an element out into a bounded area: either it fully
fit, or the fitting part plus a materialized remainder element for the
next page. Text, Column and Table produce
Split in V1.
Variants§
Auto Trait Implementations§
impl Freeze for LayoutResult
impl RefUnwindSafe for LayoutResult
impl Send for LayoutResult
impl Sync for LayoutResult
impl Unpin for LayoutResult
impl UnsafeUnpin for LayoutResult
impl UnwindSafe for LayoutResult
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