pub enum PrimitivePhase {
BeforeChildren,
AfterChildren,
}Expand description
Whether a primitive draws before or after the children of its layer.
Variants§
BeforeChildren
Drawn under the children, like a background.
AfterChildren
Drawn over the children, like a foreground or overlay.
Trait Implementations§
Source§impl Clone for PrimitivePhase
impl Clone for PrimitivePhase
impl Copy for PrimitivePhase
Source§impl Debug for PrimitivePhase
impl Debug for PrimitivePhase
impl Eq for PrimitivePhase
Source§impl PartialEq for PrimitivePhase
impl PartialEq for PrimitivePhase
impl StructuralPartialEq for PrimitivePhase
Auto Trait Implementations§
impl Freeze for PrimitivePhase
impl RefUnwindSafe for PrimitivePhase
impl Send for PrimitivePhase
impl Sync for PrimitivePhase
impl Unpin for PrimitivePhase
impl UnsafeUnpin for PrimitivePhase
impl UnwindSafe for PrimitivePhase
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