pub struct PrintfFmt<T: PrintfArgs> { /* private fields */ }
Expand description
A type-safe wrapper around a C-style string verified to be compatible
with use as a format string for printf(3)
-style functions called with
T
as the varargs.
Implementations§
Trait Implementations§
Source§impl<T: PrintfArgs> Clone for PrintfFmt<T>
impl<T: PrintfArgs> Clone for PrintfFmt<T>
impl<T: PrintfArgs> Copy for PrintfFmt<T>
impl<T: PrintfArgs> Send for PrintfFmt<T>
impl<T: PrintfArgs> Sync for PrintfFmt<T>
Auto Trait Implementations§
impl<T> Freeze for PrintfFmt<T>
impl<T> RefUnwindSafe for PrintfFmt<T>where
T: RefUnwindSafe,
impl<T> Unpin for PrintfFmt<T>where
T: Unpin,
impl<T> UnwindSafe for PrintfFmt<T>where
T: UnwindSafe,
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