pub struct RawOrBox<const SIZE: usize, const ALIGN: usize = { align_of::<usize>() }>(/* private fields */)
where
Align<ALIGN>: Alignment;Expand description
Implementations§
Trait Implementations§
Source§impl<const SIZE: usize, const ALIGN: usize> FromBox for RawOrBox<SIZE, ALIGN>
Available on crate feature alloc only.
impl<const SIZE: usize, const ALIGN: usize> FromBox for RawOrBox<SIZE, ALIGN>
Available on crate feature
alloc only.Source§impl<const SIZE: usize, const ALIGN: usize> Storage for RawOrBox<SIZE, ALIGN>
impl<const SIZE: usize, const ALIGN: usize> Storage for RawOrBox<SIZE, ALIGN>
Auto Trait Implementations§
impl<const SIZE: usize, const ALIGN: usize = { align_of::<usize>() }> !Freeze for RawOrBox<SIZE, ALIGN>
impl<const SIZE: usize, const ALIGN: usize = { align_of::<usize>() }> !RefUnwindSafe for RawOrBox<SIZE, ALIGN>
impl<const SIZE: usize, const ALIGN: usize = { align_of::<usize>() }> !Send for RawOrBox<SIZE, ALIGN>
impl<const SIZE: usize, const ALIGN: usize = { align_of::<usize>() }> !Sync for RawOrBox<SIZE, ALIGN>
impl<const SIZE: usize, const ALIGN: usize = { align_of::<usize>() }> !Unpin for RawOrBox<SIZE, ALIGN>
impl<const SIZE: usize, const ALIGN: usize = { align_of::<usize>() }> !UnwindSafe for RawOrBox<SIZE, ALIGN>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more