pub struct LogAutoOpenDepth(/* private fields */);Expand description
Auto-open depth for Dear ImGui logging helpers.
Dear ImGui uses -1 to mean “use the configured default depth”. This type keeps that sentinel
out of the safe Rust API while still allowing an explicit non-negative tree depth.
Implementations§
Trait Implementations§
Source§impl Clone for LogAutoOpenDepth
impl Clone for LogAutoOpenDepth
Source§fn clone(&self) -> LogAutoOpenDepth
fn clone(&self) -> LogAutoOpenDepth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogAutoOpenDepth
impl Debug for LogAutoOpenDepth
Source§impl From<u32> for LogAutoOpenDepth
impl From<u32> for LogAutoOpenDepth
Source§impl PartialEq for LogAutoOpenDepth
impl PartialEq for LogAutoOpenDepth
Source§fn eq(&self, other: &LogAutoOpenDepth) -> bool
fn eq(&self, other: &LogAutoOpenDepth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LogAutoOpenDepth
impl Eq for LogAutoOpenDepth
impl StructuralPartialEq for LogAutoOpenDepth
Auto Trait Implementations§
impl Freeze for LogAutoOpenDepth
impl RefUnwindSafe for LogAutoOpenDepth
impl Send for LogAutoOpenDepth
impl Sync for LogAutoOpenDepth
impl Unpin for LogAutoOpenDepth
impl UnsafeUnpin for LogAutoOpenDepth
impl UnwindSafe for LogAutoOpenDepth
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