pub enum Priority {
P0 = 0,
P1 = 1,
P2 = 2,
P3 = 3,
}
Expand description
The priority of a background layer or object. A higher priority should be thought of as rendering first, and so is behind that of a lower priority. For an equal priority background layer and object, the background has a higher priority and therefore is behind the object.
Variants§
Trait Implementations§
source§impl Bitsized for Priority
impl Bitsized for Priority
type ArbitraryInt = UInt<u8, 2>
const BITS: usize = 2usize
const MAX: Self::ArbitraryInt = {transmute(0x03): <display::Priority as bilge::Bitsized>::ArbitraryInt}
impl Copy for Priority
impl Eq for Priority
impl StructuralPartialEq for Priority
Auto Trait Implementations§
impl RefUnwindSafe for Priority
impl Send for Priority
impl Sync for Priority
impl Unpin for Priority
impl UnwindSafe for Priority
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more