pub enum TraceLevel {
Off,
Samples,
Gestures,
All,
}Expand description
How much input tracing is on.
Ordered by inclusion: All implies both of the others, so a
call site asks “is my level on?” rather than matching every combination.
Variants§
Off
Nothing is traced. The default, and what an unset or unrecognised
TEKSILO_TRACE_INPUT means.
Samples
Raw samples entering the tree.
Gestures
Recognizer transitions, arbitration decisions and cancellations.
All
Both.
Trait Implementations§
Source§impl Clone for TraceLevel
impl Clone for TraceLevel
impl Copy for TraceLevel
Source§impl Debug for TraceLevel
impl Debug for TraceLevel
Source§impl Default for TraceLevel
impl Default for TraceLevel
impl Eq for TraceLevel
Source§impl Hash for TraceLevel
impl Hash for TraceLevel
Source§impl Ord for TraceLevel
impl Ord for TraceLevel
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 TraceLevel
impl PartialEq for TraceLevel
Source§impl PartialOrd for TraceLevel
impl PartialOrd for TraceLevel
impl StructuralPartialEq for TraceLevel
Auto Trait Implementations§
impl Freeze for TraceLevel
impl RefUnwindSafe for TraceLevel
impl Send for TraceLevel
impl Sync for TraceLevel
impl Unpin for TraceLevel
impl UnsafeUnpin for TraceLevel
impl UnwindSafe for TraceLevel
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