#[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 more