#[repr(i32)]pub enum ProcessOrdering {
Unspecified = 0,
Explicit = 1,
}Expand description
Specifies how the UI should display top-level process tracks relative to each other. Note that this value is simply a hint to the UI and is only valid on the root track descriptor (uuid = 0).
Variants§
Unspecified = 0
The default ordering, with no bearing on how the UI will visualise the processes.
Explicit = 1
Order processes by sibling_order_rank of their process track
descriptors. Processes with lower ranks will be shown before processes
with higher ranks. Processes with no rank specified will be treated as
having a rank of 0.
Implementations§
Source§impl ProcessOrdering
impl ProcessOrdering
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for ProcessOrdering
impl Clone for ProcessOrdering
Source§fn clone(&self) -> ProcessOrdering
fn clone(&self) -> ProcessOrdering
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProcessOrdering
impl Debug for ProcessOrdering
Source§impl Default for ProcessOrdering
impl Default for ProcessOrdering
Source§fn default() -> ProcessOrdering
fn default() -> ProcessOrdering
Source§impl From<ProcessOrdering> for i32
impl From<ProcessOrdering> for i32
Source§fn from(value: ProcessOrdering) -> i32
fn from(value: ProcessOrdering) -> i32
Source§impl Hash for ProcessOrdering
impl Hash for ProcessOrdering
Source§impl Ord for ProcessOrdering
impl Ord for ProcessOrdering
Source§fn cmp(&self, other: &ProcessOrdering) -> Ordering
fn cmp(&self, other: &ProcessOrdering) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ProcessOrdering
impl PartialEq for ProcessOrdering
Source§fn eq(&self, other: &ProcessOrdering) -> bool
fn eq(&self, other: &ProcessOrdering) -> bool
self and other values to be equal, and is used by ==.