Struct printf_wrap::PrintfFmt
source · [−]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
sourceimpl<T: PrintfArgs> Clone for PrintfFmt<T>
impl<T: PrintfArgs> Clone for PrintfFmt<T>
sourceimpl<T: Debug + PrintfArgs> Debug for PrintfFmt<T>
impl<T: Debug + PrintfArgs> Debug for PrintfFmt<T>
impl<T: PrintfArgs> Copy for PrintfFmt<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for PrintfFmt<T> where
T: RefUnwindSafe,
impl<T> !Send for PrintfFmt<T>
impl<T> !Sync for PrintfFmt<T>
impl<T> Unpin for PrintfFmt<T> where
T: Unpin,
impl<T> UnwindSafe for PrintfFmt<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more