#[repr(i32)]pub enum ChildTracksOrdering {
Unknown = 0,
Lexicographic = 1,
Chronological = 2,
Explicit = 3,
}
Expand description
Specifies how the UI should display child tracks of this track (i.e. tracks
where parent_uuid
is specified to this track uuid
). Note that this
value is simply a hint to the UI: the UI is not guarnateed to respect
this if it has a good reason not to do so.
Note: for tracks where thread
or process
are set, this option is
ignored. See parent_uuid
for details.
Variants§
Unknown = 0
The default ordering, with no bearing on how the UI will visualise the tracks.
Lexicographic = 1
Order tracks by name
or static_name
depending on which one has been
specified.
Chronological = 2
Order tracks by the first ts
event in a track.
Explicit = 3
Order tracks by sibling_order_rank
of child tracks. Child tracks with
the lower values will be shown before tracks with higher values. Tracks
with no value will be treated as having 0 rank.
Implementations§
Source§impl ChildTracksOrdering
impl ChildTracksOrdering
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.
Trait Implementations§
Source§impl Clone for ChildTracksOrdering
impl Clone for ChildTracksOrdering
Source§fn clone(&self) -> ChildTracksOrdering
fn clone(&self) -> ChildTracksOrdering
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more