pub struct Fmt<'a, T: Render>(/* private fields */);Expand description
Wrapper for rendering a Render type via Display.
Allows using write!(f, "{}", Fmt(ctx, &expr)) in format strings.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Fmt<'a, T>
impl<'a, T> !RefUnwindSafe for Fmt<'a, T>
impl<'a, T> !Send for Fmt<'a, T>
impl<'a, T> !Sync for Fmt<'a, T>
impl<'a, T> Unpin for Fmt<'a, T>
impl<'a, T> UnsafeUnpin for Fmt<'a, T>
impl<'a, T> !UnwindSafe for Fmt<'a, T>
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