Struct humansize::SizeFormatter
source · pub struct SizeFormatter<T: ToF64 + Unsigned, O: AsRef<FormatSizeOptions>> { /* private fields */ }
Implementations
sourceimpl<V: ToF64 + Unsigned, O: AsRef<FormatSizeOptions>> SizeFormatter<V, O>
impl<V: ToF64 + Unsigned, O: AsRef<FormatSizeOptions>> SizeFormatter<V, O>
Trait Implementations
sourceimpl<T: ToF64 + Unsigned + Copy, O: AsRef<FormatSizeOptions> + Copy> Display for SizeFormatter<T, O>
impl<T: ToF64 + Unsigned + Copy, O: AsRef<FormatSizeOptions> + Copy> Display for SizeFormatter<T, O>
sourceimpl<'a, U: ToF64 + Unsigned + Copy, O: AsRef<FormatSizeOptions>> From<&'a SizeFormatter<U, O>> for ISizeFormatter<U, &'a O>
impl<'a, U: ToF64 + Unsigned + Copy, O: AsRef<FormatSizeOptions>> From<&'a SizeFormatter<U, O>> for ISizeFormatter<U, &'a O>
sourcefn from(source: &'a SizeFormatter<U, O>) -> Self
fn from(source: &'a SizeFormatter<U, O>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<T, O> RefUnwindSafe for SizeFormatter<T, O>where
O: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, O> Send for SizeFormatter<T, O>where
O: Send,
T: Send,
impl<T, O> Sync for SizeFormatter<T, O>where
O: Sync,
T: Sync,
impl<T, O> Unpin for SizeFormatter<T, O>where
O: Unpin,
T: Unpin,
impl<T, O> UnwindSafe for SizeFormatter<T, O>where
O: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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