pub struct PriorityLinePriority(/* private fields */);Expand description
Nonnegative importance assigned to one independently hideable line item.
Zero is the most important value. Larger values disappear first.
Implementations§
Trait Implementations§
Source§impl Clone for PriorityLinePriority
impl Clone for PriorityLinePriority
Source§fn clone(&self) -> PriorityLinePriority
fn clone(&self) -> PriorityLinePriority
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PriorityLinePriority
Source§impl Debug for PriorityLinePriority
impl Debug for PriorityLinePriority
impl Eq for PriorityLinePriority
Source§impl Ord for PriorityLinePriority
impl Ord for PriorityLinePriority
Source§fn cmp(&self, other: &PriorityLinePriority) -> Ordering
fn cmp(&self, other: &PriorityLinePriority) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PriorityLinePriority
impl PartialEq for PriorityLinePriority
Source§impl PartialOrd for PriorityLinePriority
impl PartialOrd for PriorityLinePriority
impl StructuralPartialEq for PriorityLinePriority
Auto Trait Implementations§
impl Freeze for PriorityLinePriority
impl RefUnwindSafe for PriorityLinePriority
impl Send for PriorityLinePriority
impl Sync for PriorityLinePriority
impl Unpin for PriorityLinePriority
impl UnsafeUnpin for PriorityLinePriority
impl UnwindSafe for PriorityLinePriority
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