pub enum RunMode {
PeformLayout,
ComputeSize,
}
Expand description
Whether we are performing a full layout, or we merely need to size the node
Variants§
PeformLayout
A full layout for this node and all children should be computed
ComputeSize
The layout algorithm should be executed such that an accurate container size for the node can be determined. Layout steps that aren’t necessary for determining the container size of the current node can be skipped.
Trait Implementations§
source§impl PartialEq for RunMode
impl PartialEq for RunMode
impl Copy for RunMode
impl Eq for RunMode
impl StructuralEq for RunMode
impl StructuralPartialEq for RunMode
Auto Trait Implementations§
impl RefUnwindSafe for RunMode
impl Send for RunMode
impl Sync for RunMode
impl Unpin for RunMode
impl UnwindSafe for RunMode
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