Trait mem_dbg::MemDbgImpl
source · pub trait MemDbgImpl: MemSize {
// Provided method
fn _mem_dbg_rec_on(
&self,
_writer: &mut impl Write,
_total_size: usize,
_max_depth: usize,
_prefix: &mut String,
_is_last: bool,
_flags: DbgFlags
) -> Result { ... }
}
Expand description
Inner trait used to implement MemDbg
.
This trait should not be implemented by users, which should use the
MemDbg
derive macro instead.
The default no-op implementation is used by primitive types.
Provided Methods§
fn _mem_dbg_rec_on( &self, _writer: &mut impl Write, _total_size: usize, _max_depth: usize, _prefix: &mut String, _is_last: bool, _flags: DbgFlags ) -> Result
Object Safety§
This trait is not object safe.