pub struct Owned<T>(pub T);
Expand description
Due to implementation conflicts, IntoOwned
cannot be directly implemented on T
.
So instead, this is a light wrapper that allows the implementation.
Immutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.