pub struct MinimumAlignment<const ALIGNMENT: usize>;
Expand description
Specifies the current minimum alignment of a bump allocator.
Trait Implementations§
Source§impl<const ALIGNMENT: usize> Clone for MinimumAlignment<ALIGNMENT>
impl<const ALIGNMENT: usize> Clone for MinimumAlignment<ALIGNMENT>
Source§fn clone(&self) -> MinimumAlignment<ALIGNMENT>
fn clone(&self) -> MinimumAlignment<ALIGNMENT>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<const ALIGNMENT: usize> Copy for MinimumAlignment<ALIGNMENT>
impl SupportedMinimumAlignment for MinimumAlignment<1>
impl SupportedMinimumAlignment for MinimumAlignment<16>
impl SupportedMinimumAlignment for MinimumAlignment<2>
impl SupportedMinimumAlignment for MinimumAlignment<4>
impl SupportedMinimumAlignment for MinimumAlignment<8>
Auto Trait Implementations§
impl<const ALIGNMENT: usize> Freeze for MinimumAlignment<ALIGNMENT>
impl<const ALIGNMENT: usize> RefUnwindSafe for MinimumAlignment<ALIGNMENT>
impl<const ALIGNMENT: usize> Send for MinimumAlignment<ALIGNMENT>
impl<const ALIGNMENT: usize> Sync for MinimumAlignment<ALIGNMENT>
impl<const ALIGNMENT: usize> Unpin for MinimumAlignment<ALIGNMENT>
impl<const ALIGNMENT: usize> UnwindSafe for MinimumAlignment<ALIGNMENT>
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