pub struct Owned<T> { /* fields omitted */ }
Expand description
Like Box<T>: an owned, heap-allocated data value of type T.
Move t to a new heap allocation.
Move data out of the owned box, deallocating the box.
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Mutably dereferences the value.
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.