pub struct Align<const ALIGN: u32>;Expand description
Alignment of ALIGN bytes, only powers of two from 1 to 4096 implement Alignment
Trait Implementations§
impl AtLeast<Align<2>> for Align4096
impl AtLeast<Align<2>> for Align2048
impl AtLeast<Align<2>> for Align1024
impl AtLeast<Align<2>> for Align512
impl AtLeast<Align<2>> for Align256
impl AtLeast<Align<2>> for Align128
impl AtLeast<Align<2>> for Align64
impl AtLeast<Align<2>> for Align32
impl AtLeast<Align<2>> for Align16
impl AtLeast<Align<2>> for Align8
impl AtLeast<Align<2>> for Align4
impl AtLeast<Align<2>> for Align2
impl AtLeast<Align<4>> for Align4096
impl AtLeast<Align<4>> for Align2048
impl AtLeast<Align<4>> for Align1024
impl AtLeast<Align<4>> for Align512
impl AtLeast<Align<4>> for Align256
impl AtLeast<Align<4>> for Align128
impl AtLeast<Align<4>> for Align64
impl AtLeast<Align<4>> for Align32
impl AtLeast<Align<4>> for Align16
impl AtLeast<Align<4>> for Align8
impl AtLeast<Align<4>> for Align4
impl AtLeast<Align<8>> for Align4096
impl AtLeast<Align<8>> for Align2048
impl AtLeast<Align<8>> for Align1024
impl AtLeast<Align<8>> for Align512
impl AtLeast<Align<8>> for Align256
impl AtLeast<Align<8>> for Align128
impl AtLeast<Align<8>> for Align64
impl AtLeast<Align<8>> for Align32
impl AtLeast<Align<8>> for Align16
impl AtLeast<Align<8>> for Align8
impl AtLeast<Align<16>> for Align4096
impl AtLeast<Align<16>> for Align2048
impl AtLeast<Align<16>> for Align1024
impl AtLeast<Align<16>> for Align512
impl AtLeast<Align<16>> for Align256
impl AtLeast<Align<16>> for Align128
impl AtLeast<Align<16>> for Align64
impl AtLeast<Align<16>> for Align32
impl AtLeast<Align<16>> for Align16
impl AtLeast<Align<32>> for Align4096
impl AtLeast<Align<32>> for Align2048
impl AtLeast<Align<32>> for Align1024
impl AtLeast<Align<32>> for Align512
impl AtLeast<Align<32>> for Align256
impl AtLeast<Align<32>> for Align128
impl AtLeast<Align<32>> for Align64
impl AtLeast<Align<32>> for Align32
impl AtLeast<Align<64>> for Align4096
impl AtLeast<Align<64>> for Align2048
impl AtLeast<Align<64>> for Align1024
impl AtLeast<Align<64>> for Align512
impl AtLeast<Align<64>> for Align256
impl AtLeast<Align<64>> for Align128
impl AtLeast<Align<64>> for Align64
impl AtLeast<Align<128>> for Align4096
impl AtLeast<Align<128>> for Align2048
impl AtLeast<Align<128>> for Align1024
impl AtLeast<Align<128>> for Align512
impl AtLeast<Align<128>> for Align256
impl AtLeast<Align<128>> for Align128
impl AtLeast<Align<256>> for Align4096
impl AtLeast<Align<256>> for Align2048
impl AtLeast<Align<256>> for Align1024
impl AtLeast<Align<256>> for Align512
impl AtLeast<Align<256>> for Align256
impl AtLeast<Align<512>> for Align4096
impl AtLeast<Align<512>> for Align2048
impl AtLeast<Align<512>> for Align1024
impl AtLeast<Align<512>> for Align512
impl AtLeast<Align<1024>> for Align4096
impl AtLeast<Align<1024>> for Align2048
impl AtLeast<Align<1024>> for Align1024
impl AtLeast<Align<2048>> for Align4096
impl AtLeast<Align<2048>> for Align2048
impl AtLeast<Align<4096>> for Align4096
impl<const ALIGN: u32> Copy for Align<ALIGN>
impl<const ALIGN: u32> Eq for Align<ALIGN>
impl<const ALIGN: u32> StructuralPartialEq for Align<ALIGN>
Auto Trait Implementations§
impl<const ALIGN: u32> Forget for Align<ALIGN>
impl<const ALIGN: u32> Freeze for Align<ALIGN>
impl<const ALIGN: u32> Move for Align<ALIGN>
impl<const ALIGN: u32> RefUnwindSafe for Align<ALIGN>
impl<const ALIGN: u32> Send for Align<ALIGN>
impl<const ALIGN: u32> Sync for Align<ALIGN>
impl<const ALIGN: u32> Unpin for Align<ALIGN>
impl<const ALIGN: u32> UnsafeUnpin for Align<ALIGN>
impl<const ALIGN: u32> UnwindSafe for Align<ALIGN>
Blanket Implementations§
impl<A> AtLeast<Align<1>> for Awhere
A: Alignment,
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