Skip to main content

AtLeast

Trait AtLeast 

Source
pub trait AtLeast<A>: Alignment
where A: Alignment,
{ }
Expand description

Alignment that is at least as strict as A, such that anything aligned to Self is also aligned to A

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl AtLeast<Align<2>> for Align2

Source§

impl AtLeast<Align<2>> for Align4

Source§

impl AtLeast<Align<2>> for Align8

Source§

impl AtLeast<Align<2>> for Align16

Source§

impl AtLeast<Align<2>> for Align32

Source§

impl AtLeast<Align<2>> for Align64

Source§

impl AtLeast<Align<2>> for Align128

Source§

impl AtLeast<Align<2>> for Align256

Source§

impl AtLeast<Align<2>> for Align512

Source§

impl AtLeast<Align<2>> for Align1024

Source§

impl AtLeast<Align<2>> for Align2048

Source§

impl AtLeast<Align<2>> for Align4096

Source§

impl AtLeast<Align<4>> for Align4

Source§

impl AtLeast<Align<4>> for Align8

Source§

impl AtLeast<Align<4>> for Align16

Source§

impl AtLeast<Align<4>> for Align32

Source§

impl AtLeast<Align<4>> for Align64

Source§

impl AtLeast<Align<4>> for Align128

Source§

impl AtLeast<Align<4>> for Align256

Source§

impl AtLeast<Align<4>> for Align512

Source§

impl AtLeast<Align<4>> for Align1024

Source§

impl AtLeast<Align<4>> for Align2048

Source§

impl AtLeast<Align<4>> for Align4096

Source§

impl AtLeast<Align<8>> for Align8

Source§

impl AtLeast<Align<8>> for Align16

Source§

impl AtLeast<Align<8>> for Align32

Source§

impl AtLeast<Align<8>> for Align64

Source§

impl AtLeast<Align<8>> for Align128

Source§

impl AtLeast<Align<8>> for Align256

Source§

impl AtLeast<Align<8>> for Align512

Source§

impl AtLeast<Align<8>> for Align1024

Source§

impl AtLeast<Align<8>> for Align2048

Source§

impl AtLeast<Align<8>> for Align4096

Source§

impl AtLeast<Align<16>> for Align16

Source§

impl AtLeast<Align<16>> for Align32

Source§

impl AtLeast<Align<16>> for Align64

Source§

impl AtLeast<Align<16>> for Align128

Source§

impl AtLeast<Align<16>> for Align256

Source§

impl AtLeast<Align<16>> for Align512

Source§

impl AtLeast<Align<16>> for Align1024

Source§

impl AtLeast<Align<16>> for Align2048

Source§

impl AtLeast<Align<16>> for Align4096

Source§

impl AtLeast<Align<32>> for Align32

Source§

impl AtLeast<Align<32>> for Align64

Source§

impl AtLeast<Align<32>> for Align128

Source§

impl AtLeast<Align<32>> for Align256

Source§

impl AtLeast<Align<32>> for Align512

Source§

impl AtLeast<Align<32>> for Align1024

Source§

impl AtLeast<Align<32>> for Align2048

Source§

impl AtLeast<Align<32>> for Align4096

Source§

impl AtLeast<Align<64>> for Align64

Source§

impl AtLeast<Align<64>> for Align128

Source§

impl AtLeast<Align<64>> for Align256

Source§

impl AtLeast<Align<64>> for Align512

Source§

impl AtLeast<Align<64>> for Align1024

Source§

impl AtLeast<Align<64>> for Align2048

Source§

impl AtLeast<Align<64>> for Align4096

Source§

impl AtLeast<Align<128>> for Align128

Source§

impl AtLeast<Align<128>> for Align256

Source§

impl AtLeast<Align<128>> for Align512

Source§

impl AtLeast<Align<128>> for Align1024

Source§

impl AtLeast<Align<128>> for Align2048

Source§

impl AtLeast<Align<128>> for Align4096

Source§

impl AtLeast<Align<256>> for Align256

Source§

impl AtLeast<Align<256>> for Align512

Source§

impl AtLeast<Align<256>> for Align1024

Source§

impl AtLeast<Align<256>> for Align2048

Source§

impl AtLeast<Align<256>> for Align4096

Source§

impl AtLeast<Align<512>> for Align512

Source§

impl AtLeast<Align<512>> for Align1024

Source§

impl AtLeast<Align<512>> for Align2048

Source§

impl AtLeast<Align<512>> for Align4096

Source§

impl AtLeast<Align<1024>> for Align1024

Source§

impl AtLeast<Align<1024>> for Align2048

Source§

impl AtLeast<Align<1024>> for Align4096

Source§

impl AtLeast<Align<2048>> for Align2048

Source§

impl AtLeast<Align<2048>> for Align4096

Source§

impl AtLeast<Align<4096>> for Align4096

Source§

impl<A> AtLeast<Align<1>> for A
where A: Alignment,

Every alignment is at least 1 byte, which generic code can rely on with just an Alignment bound