Struct wyz::fmt::FmtPointer
source · [−]#[repr(transparent)]pub struct FmtPointer<T: Pointer>(pub T);
Expand description
Forwards a type’s Pointer
formatting implementation to Debug
.
Tuple Fields
0: T
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for FmtPointer<T> where
T: RefUnwindSafe,
impl<T> Send for FmtPointer<T> where
T: Send,
impl<T> Sync for FmtPointer<T> where
T: Sync,
impl<T> Unpin for FmtPointer<T> where
T: Unpin,
impl<T> UnwindSafe for FmtPointer<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Causes self
to use its Binary
implementation when Debug
-formatted.
Causes self
to use its Display
implementation when
Debug
-formatted. Read more
Causes self
to use its LowerExp
implementation when
Debug
-formatted. Read more
Causes self
to use its LowerHex
implementation when
Debug
-formatted. Read more
Causes self
to use its Octal
implementation when Debug
-formatted.
Causes self
to use its Pointer
implementation when
Debug
-formatted. Read more
Causes self
to use its UpperExp
implementation when
Debug
-formatted. Read more
Causes self
to use its UpperHex
implementation when
Debug
-formatted. Read more
Pipes a trait borrow into a function that cannot normally be called in suffix position. Read more
Pipes a trait borrow into a function that cannot normally be called in suffix position. Read more
Pipes a dereference into a function that cannot normally be called in suffix position. Read more
Pipes a reference into a function that cannot ordinarily be called in suffix position. Read more
Provides immutable access to the reference for inspection.
Calls tap_ref
in debug builds, and does nothing in release builds.
Provides mutable access to the reference for modification.
Calls tap_ref_mut
in debug builds, and does nothing in release builds.
Provides immutable access to the borrow for inspection. Read more
Calls tap_borrow
in debug builds, and does nothing in release builds.
Provides mutable access to the borrow for modification.
Immutably dereferences self
for inspection.
Calls tap_deref
in debug builds, and does nothing in release builds.
Mutably dereferences self
for modification.