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

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

A pair of aligments, ABI-mandated and preferred.

Fields

abi: Alignpref: Align

Methods

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 Eq for AbiAndPrefAlign[src]

impl Clone for AbiAndPrefAlign[src]

impl PartialEq<AbiAndPrefAlign> for AbiAndPrefAlign[src]

impl Copy for AbiAndPrefAlign[src]

impl Hash for AbiAndPrefAlign[src]

impl Debug for AbiAndPrefAlign[src]

impl Encodable for AbiAndPrefAlign[src]

impl Decodable for AbiAndPrefAlign[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<T> Erased for T[src]

impl<E> SpecializationError for E[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]