pub struct Formatted<T> {
pub value: T,
pub format: FormatInfo,
}Expand description
A value bundled with its detected formatting information.
Fields§
§value: T§format: FormatInfoImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Formatted<T>where
T: Freeze,
impl<T> RefUnwindSafe for Formatted<T>where
T: RefUnwindSafe,
impl<T> Send for Formatted<T>where
T: Send,
impl<T> Sync for Formatted<T>where
T: Sync,
impl<T> Unpin for Formatted<T>where
T: Unpin,
impl<T> UnsafeUnpin for Formatted<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Formatted<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