Skip to main content

AlignmentEnum

Enum AlignmentEnum 

Source
#[repr(usize)]
enum AlignmentEnum {
Show 64 variants _Align1Shl0 = 1, _Align1Shl1 = 2, _Align1Shl2 = 4, _Align1Shl3 = 8, _Align1Shl4 = 16, _Align1Shl5 = 32, _Align1Shl6 = 64, _Align1Shl7 = 128, _Align1Shl8 = 256, _Align1Shl9 = 512, _Align1Shl10 = 1_024, _Align1Shl11 = 2_048, _Align1Shl12 = 4_096, _Align1Shl13 = 8_192, _Align1Shl14 = 16_384, _Align1Shl15 = 32_768, _Align1Shl16 = 65_536, _Align1Shl17 = 131_072, _Align1Shl18 = 262_144, _Align1Shl19 = 524_288, _Align1Shl20 = 1_048_576, _Align1Shl21 = 2_097_152, _Align1Shl22 = 4_194_304, _Align1Shl23 = 8_388_608, _Align1Shl24 = 16_777_216, _Align1Shl25 = 33_554_432, _Align1Shl26 = 67_108_864, _Align1Shl27 = 134_217_728, _Align1Shl28 = 268_435_456, _Align1Shl29 = 536_870_912, _Align1Shl30 = 1_073_741_824, _Align1Shl31 = 2_147_483_648, _Align1Shl32 = 4_294_967_296, _Align1Shl33 = 8_589_934_592, _Align1Shl34 = 17_179_869_184, _Align1Shl35 = 34_359_738_368, _Align1Shl36 = 68_719_476_736, _Align1Shl37 = 137_438_953_472, _Align1Shl38 = 274_877_906_944, _Align1Shl39 = 549_755_813_888, _Align1Shl40 = 1_099_511_627_776, _Align1Shl41 = 2_199_023_255_552, _Align1Shl42 = 4_398_046_511_104, _Align1Shl43 = 8_796_093_022_208, _Align1Shl44 = 17_592_186_044_416, _Align1Shl45 = 35_184_372_088_832, _Align1Shl46 = 70_368_744_177_664, _Align1Shl47 = 140_737_488_355_328, _Align1Shl48 = 281_474_976_710_656, _Align1Shl49 = 562_949_953_421_312, _Align1Shl50 = 1_125_899_906_842_624, _Align1Shl51 = 2_251_799_813_685_248, _Align1Shl52 = 4_503_599_627_370_496, _Align1Shl53 = 9_007_199_254_740_992, _Align1Shl54 = 18_014_398_509_481_984, _Align1Shl55 = 36_028_797_018_963_968, _Align1Shl56 = 72_057_594_037_927_936, _Align1Shl57 = 144_115_188_075_855_872, _Align1Shl58 = 288_230_376_151_711_744, _Align1Shl59 = 576_460_752_303_423_488, _Align1Shl60 = 1_152_921_504_606_846_976, _Align1Shl61 = 2_305_843_009_213_693_952, _Align1Shl62 = 4_611_686_018_427_387_904, _Align1Shl63 = 9_223_372_036_854_775_808,
}

Variants§

§

_Align1Shl0 = 1

§

_Align1Shl1 = 2

§

_Align1Shl2 = 4

§

_Align1Shl3 = 8

§

_Align1Shl4 = 16

§

_Align1Shl5 = 32

§

_Align1Shl6 = 64

§

_Align1Shl7 = 128

§

_Align1Shl8 = 256

§

_Align1Shl9 = 512

§

_Align1Shl10 = 1_024

§

_Align1Shl11 = 2_048

§

_Align1Shl12 = 4_096

§

_Align1Shl13 = 8_192

§

_Align1Shl14 = 16_384

§

_Align1Shl15 = 32_768

§

_Align1Shl16 = 65_536

§

_Align1Shl17 = 131_072

§

_Align1Shl18 = 262_144

§

_Align1Shl19 = 524_288

§

_Align1Shl20 = 1_048_576

§

_Align1Shl21 = 2_097_152

§

_Align1Shl22 = 4_194_304

§

_Align1Shl23 = 8_388_608

§

_Align1Shl24 = 16_777_216

§

_Align1Shl25 = 33_554_432

§

_Align1Shl26 = 67_108_864

§

_Align1Shl27 = 134_217_728

§

_Align1Shl28 = 268_435_456

§

_Align1Shl29 = 536_870_912

§

_Align1Shl30 = 1_073_741_824

§

_Align1Shl31 = 2_147_483_648

§

_Align1Shl32 = 4_294_967_296

§

_Align1Shl33 = 8_589_934_592

§

_Align1Shl34 = 17_179_869_184

§

_Align1Shl35 = 34_359_738_368

§

_Align1Shl36 = 68_719_476_736

§

_Align1Shl37 = 137_438_953_472

§

_Align1Shl38 = 274_877_906_944

§

_Align1Shl39 = 549_755_813_888

§

_Align1Shl40 = 1_099_511_627_776

§

_Align1Shl41 = 2_199_023_255_552

§

_Align1Shl42 = 4_398_046_511_104

§

_Align1Shl43 = 8_796_093_022_208

§

_Align1Shl44 = 17_592_186_044_416

§

_Align1Shl45 = 35_184_372_088_832

§

_Align1Shl46 = 70_368_744_177_664

§

_Align1Shl47 = 140_737_488_355_328

§

_Align1Shl48 = 281_474_976_710_656

§

_Align1Shl49 = 562_949_953_421_312

§

_Align1Shl50 = 1_125_899_906_842_624

§

_Align1Shl51 = 2_251_799_813_685_248

§

_Align1Shl52 = 4_503_599_627_370_496

§

_Align1Shl53 = 9_007_199_254_740_992

§

_Align1Shl54 = 18_014_398_509_481_984

§

_Align1Shl55 = 36_028_797_018_963_968

§

_Align1Shl56 = 72_057_594_037_927_936

§

_Align1Shl57 = 144_115_188_075_855_872

§

_Align1Shl58 = 288_230_376_151_711_744

§

_Align1Shl59 = 576_460_752_303_423_488

§

_Align1Shl60 = 1_152_921_504_606_846_976

§

_Align1Shl61 = 2_305_843_009_213_693_952

§

_Align1Shl62 = 4_611_686_018_427_387_904

§

_Align1Shl63 = 9_223_372_036_854_775_808

Trait Implementations§

Source§

impl Clone for AlignmentEnum

Source§

fn clone(&self) -> AlignmentEnum

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)
where Self:,

Performs copy-assignment from source. Read more
Source§

impl Copy for AlignmentEnum

Source§

impl Eq for AlignmentEnum

Source§

#[doc(hidden)]
fn assert_fields_are_eq(&self)

🔬This is a nightly-only experimental API. (derive_eq_internals)
1.0.0 (const: unstable) · Source§

#[doc(hidden)]
fn assert_receiver_is_total_eq(&self)

👎Deprecated since 1.95.0:

implementation detail of #[derive(Eq)]

Source§

impl PartialEq for AlignmentEnum

Source§

fn eq(&self, other: &AlignmentEnum) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for AlignmentEnum

Source§

impl TrivialClone for AlignmentEnum

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit #126799)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> SizeHint for T
where T: ?Sized,

Source§

default fn lower_bound(&self) -> usize

🔬This is a nightly-only experimental API. (core_io_internals)
Returns a lower bound on the number of elements this container-like item contains. For example, an array [u8; 12] could return any value between 0 and 12 inclusively as a correct implementation. Read more
Source§

default fn upper_bound(&self) -> Option<usize>

🔬This is a nightly-only experimental API. (core_io_internals)
Returns an upper bound on the number of elements this container-like item contains if it can be determined, otherwise None. Read more
Source§

final fn size_hint(&self) -> (usize, Option<usize>)

🔬This is a nightly-only experimental API. (core_io_internals)
Returns an estimate for the number of elements this container like type contains. Read more
Source§

impl<T> SizedTypeProperties for T

Source§

#[doc(hidden)]
const SIZE: usize = _

🔬This is a nightly-only experimental API. (sized_type_properties)
Source§

#[doc(hidden)]
const ALIGN: usize = _

🔬This is a nightly-only experimental API. (sized_type_properties)
Source§

#[doc(hidden)]
const ALIGNMENT: Alignment = _

🔬This is a nightly-only experimental API. (ptr_alignment_type #102070)
Source§

#[doc(hidden)]
const IS_ZST: bool = _

🔬This is a nightly-only experimental API. (sized_type_properties)
true if this type requires no storage. false if its size is greater than zero. Read more
Source§

#[doc(hidden)]
const LAYOUT: Layout = _

🔬This is a nightly-only experimental API. (sized_type_properties)
Source§

#[doc(hidden)]
const MAX_SLICE_LEN: usize = _

🔬This is a nightly-only experimental API. (sized_type_properties)
The largest safe length for a [Self]. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.