#[repr(i32)]pub enum LogMode {
Unspecified = 0,
FullState = 1,
Incremental = 2,
}Variants§
Unspecified = 0
FullState = 1
Always logs a full state dump of the window hierarchy.
Incremental = 2
Logs a full state dump of the window hierarchy only when tracing starts. The following trace packets are lightweight patches containing only the last changes.
Implementations§
Source§impl LogMode
impl LogMode
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 Ord for LogMode
impl Ord for LogMode
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
Source§impl PartialOrd for LogMode
impl PartialOrd for LogMode
impl Copy for LogMode
impl Eq for LogMode
impl StructuralPartialEq for LogMode
Auto Trait Implementations§
impl Freeze for LogMode
impl RefUnwindSafe for LogMode
impl Send for LogMode
impl Sync for LogMode
impl Unpin for LogMode
impl UnsafeUnpin for LogMode
impl UnwindSafe for LogMode
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