Expand description
Owned version of unsized types Variant, NonFixedWidthArray, MaybeFixedSize, MaybeNonFixedSize and the macro-generated GVariant structs that implement the Structure trait.
Much like BoxT
.
Can be converted to/from a Vec
See notes in [AlignedBuf]. ↩
Implementations
Trait Implementations
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for Owned<T> where
T: RefUnwindSafe,
impl<T: ?Sized> Send for Owned<T> where
T: Send,
impl<T: ?Sized> Sync for Owned<T> where
T: Sync,
impl<T: ?Sized> Unpin for Owned<T> where
T: Unpin,
impl<T: ?Sized> UnwindSafe for Owned<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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