Struct rustc::ty::layout::Align [] [src]

pub struct Align { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (rustc_private)

Alignment of a type in bytes, both ABI-mandated and preferred. Since alignments are always powers of 2, we can pack both in one byte, giving each a nibble (4 bits) for a maximum alignment of 215 = 32768.

Methods

impl Align
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

impl Copy for Align
[src]

impl Clone for Align
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Align
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Align
[src]

impl Hash for Align
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for Align
[src]

Formats the value using the given formatter.