Struct aligned_vec::ConstAlign
source · [−]pub struct ConstAlign<const ALIGN: usize>;
Expand description
Type wrapping a compile-time alignment value.
Trait Implementations
sourceimpl<const ALIGN: usize> Alignment for ConstAlign<ALIGN>
impl<const ALIGN: usize> Alignment for ConstAlign<ALIGN>
sourceimpl<const ALIGN: usize> Clone for ConstAlign<ALIGN>
impl<const ALIGN: usize> Clone for ConstAlign<ALIGN>
sourcefn clone(&self) -> ConstAlign<ALIGN>
fn clone(&self) -> ConstAlign<ALIGN>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<const ALIGN: usize> Copy for ConstAlign<ALIGN>
Auto Trait Implementations
impl<const ALIGN: usize> RefUnwindSafe for ConstAlign<ALIGN>
impl<const ALIGN: usize> Send for ConstAlign<ALIGN>
impl<const ALIGN: usize> Sync for ConstAlign<ALIGN>
impl<const ALIGN: usize> Unpin for ConstAlign<ALIGN>
impl<const ALIGN: usize> UnwindSafe for ConstAlign<ALIGN>
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