Struct ISizeFormatter

struct ISizeFormatter<T: ToF64, O: AsRef<crate::FormatSizeOptions>> { ... }

Implementations

impl<V: ToF64, O: AsRef<crate::FormatSizeOptions>> ISizeFormatter<V, O>

fn new(value: V, options: O) -> Self

impl<'a, U: ToF64 + Unsigned + Copy, O: AsRef<crate::FormatSizeOptions>> From for ISizeFormatter<U, &'a O>

fn from(source: &'a SizeFormatter<U, O>) -> Self

impl<T> Any for ISizeFormatter<T, O>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ISizeFormatter<T, O>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ISizeFormatter<T, O>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for ISizeFormatter<T, O>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for ISizeFormatter<T, O>

fn to_string(self: &Self) -> String

impl<T, O> Freeze for ISizeFormatter<T, O>

impl<T, O> RefUnwindSafe for ISizeFormatter<T, O>

impl<T, O> Send for ISizeFormatter<T, O>

impl<T, O> Sync for ISizeFormatter<T, O>

impl<T, O> Unpin for ISizeFormatter<T, O>

impl<T, O> UnsafeUnpin for ISizeFormatter<T, O>

impl<T, O> UnwindSafe for ISizeFormatter<T, O>

impl<T, U> Into for ISizeFormatter<T, O>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ISizeFormatter<T, O>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ISizeFormatter<T, O>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<T: ToF64, O: AsRef<crate::FormatSizeOptions>> Display for ISizeFormatter<T, O>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result