Trait primitives::prelude::Priority [−][src]
pub trait Priority {
fn priority(&self) -> i32;
fn set_priority(&self, val: i32);
}
Expand description
The Priority should be implemented by objects intended to be ranked or sorted.
Required methods
The rank score of this item. Higher numbers should be considered on top of the list, therefore of higher priority.