Struct DebugInner
pub(in ::fmt::builders) struct DebugInner<'a, 'b: 'a> { pub(in ::fmt::builders) fmt: &'a mut Formatter<'b>, pub(in ::fmt::builders) result: Result, pub(in ::fmt::builders) has_fields: bool }
A helper used to print list-like items with no special formatting.
Fields
fmt: &'a mut Formatter<'b>result: Resulthas_fields: bool
Implementations
impl<'a, 'b: 'a> DebugInner<'a, 'b>
fn entry(&mut self, entry: &dyn Debug)fn entry_with<F>(&mut self, entry_fmt: F) where F: FnOnce(&mut Formatter<'_>) -> Result,fn is_pretty(&self) -> bool
Auto Trait Implementations
impl<'a, 'b> !RefUnwindSafe for DebugInner<'a, 'b>
impl<'a, 'b> !Send for DebugInner<'a, 'b>
impl<'a, 'b> !Sync for DebugInner<'a, 'b>
impl<'a, 'b> !UnwindSafe for DebugInner<'a, 'b>
impl<'a, 'b> Freeze for DebugInner<'a, 'b>
impl<'a, 'b> Unpin for DebugInner<'a, 'b>
impl<'a, 'b> UnsafeUnpin for DebugInner<'a, 'b>
Blanket Implementations
impl<T> Any for DebugInner<'a, 'b>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for DebugInner<'a, 'b>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for DebugInner<'a, 'b>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for DebugInner<'a, 'b>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> SizeHint for DebugInner<'a, 'b>
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for DebugInner<'a, 'b>
impl<T, U> Into<U> for DebugInner<'a, 'b>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for DebugInner<'a, 'b>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for DebugInner<'a, 'b>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>