pub enum RunMode {
PerformLayout,
ComputeSize,
PerformHiddenLayout,
}
Expand description
Whether we are performing a full layout, or we merely need to size the node
Variants§
PerformLayout
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.
PerformHiddenLayout
This node should have a null layout set as it has been hidden (i.e. using Display::None
)
Trait Implementations§
impl Copy for RunMode
impl Eq for RunMode
impl StructuralPartialEq for RunMode
Auto Trait Implementations§
impl Freeze for RunMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)