Struct LossyWrap

struct LossyWrap<T>(218)

Implementations

impl<T> Any for LossyWrap<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for LossyWrap<T>

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

impl<T> BorrowMut for LossyWrap<T>

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

impl<T> Freeze for LossyWrap<T>

impl<T> From for LossyWrap<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> RefUnwindSafe for LossyWrap<T>

impl<T> Send for LossyWrap<T>

impl<T> Sync for LossyWrap<T>

impl<T> ToString for LossyWrap<T>

fn to_string(self: &Self) -> String

impl<T> Unpin for LossyWrap<T>

impl<T> UnsafeUnpin for LossyWrap<T>

impl<T> UnwindSafe for LossyWrap<T>

impl<T, U> Into for LossyWrap<T>

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 LossyWrap<T>

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

impl<T, U> TryInto for LossyWrap<T>

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

impl<T: $crate::fmt::Debug> Debug for LossyWrap<T>

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

impl<T: TryWriteable> Display for LossyWrap<T>

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

impl<T: TryWriteable> Writeable for LossyWrap<T>

fn write_to<W: fmt::Write + ?Sized>(self: &Self, sink: &mut W) -> Result
fn writeable_length_hint(self: &Self) -> LengthHint