pub enum LayoutPassKind {
Probe,
Final,
}Variants§
Probe
A layout pass performed only to probe intrinsic/desired sizes or intermediate geometry.
Probe passes must not be treated as a final layout solve. In particular, they:
- must not consume one-shot state (e.g. deferred scroll requests),
- must not register viewport roots,
- must not update window-scoped bounds caches used by overlay placement,
- must not clear layout invalidation flags (so a subsequent
Finalpass still runs).
Final
A layout pass performed under the final viewport/root constraints for this frame.
Trait Implementations§
Source§impl Clone for LayoutPassKind
impl Clone for LayoutPassKind
Source§fn clone(&self) -> LayoutPassKind
fn clone(&self) -> LayoutPassKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutPassKind
impl Debug for LayoutPassKind
Source§impl PartialEq for LayoutPassKind
impl PartialEq for LayoutPassKind
impl Copy for LayoutPassKind
impl Eq for LayoutPassKind
impl StructuralPartialEq for LayoutPassKind
Auto Trait Implementations§
impl Freeze for LayoutPassKind
impl RefUnwindSafe for LayoutPassKind
impl Send for LayoutPassKind
impl Sync for LayoutPassKind
impl Unpin for LayoutPassKind
impl UnsafeUnpin for LayoutPassKind
impl UnwindSafe for LayoutPassKind
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