[][src]Struct rustc_target::abi::AbiAndPrefAlign

pub struct AbiAndPrefAlign {
    pub abi: Align,
    pub pref: Align,
}

A pair of alignments, ABI-mandated and preferred.

Fields

abi: Alignpref: Align

Implementations

impl AbiAndPrefAlign[src]

pub fn new(align: Align) -> AbiAndPrefAlign[src]

pub fn min(self, other: AbiAndPrefAlign) -> AbiAndPrefAlign[src]

pub fn max(self, other: AbiAndPrefAlign) -> AbiAndPrefAlign[src]

Trait Implementations

impl Clone for AbiAndPrefAlign[src]

impl Copy for AbiAndPrefAlign[src]

impl Debug for AbiAndPrefAlign[src]

impl<__D: Decoder> Decodable<__D> for AbiAndPrefAlign[src]

impl<__E: Encoder> Encodable<__E> for AbiAndPrefAlign[src]

impl Eq for AbiAndPrefAlign[src]

impl Hash for AbiAndPrefAlign[src]

impl<__CTX> HashStable<__CTX> for AbiAndPrefAlign where
    __CTX: HashStableContext
[src]

impl PartialEq<AbiAndPrefAlign> for AbiAndPrefAlign[src]

impl StructuralEq for AbiAndPrefAlign[src]

impl StructuralPartialEq for AbiAndPrefAlign[src]

Auto Trait Implementations

impl RefUnwindSafe for AbiAndPrefAlign

impl Send for AbiAndPrefAlign

impl Sync for AbiAndPrefAlign

impl Unpin for AbiAndPrefAlign

impl UnwindSafe for AbiAndPrefAlign

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.