Struct rustc_target::abi::AbiAndPrefAlign [−][src]
Expand description
A pair of alignments, ABI-mandated and preferred.
Fields
abi: Alignpref: AlignImplementations
impl AbiAndPrefAlign[src]
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 Clone for AbiAndPrefAlign[src]fn clone(&self) -> AbiAndPrefAlign[src]
fn clone(&self) -> AbiAndPrefAlign[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for AbiAndPrefAlign[src]
impl Debug for AbiAndPrefAlign[src]impl<__D: Decoder> Decodable<__D> for AbiAndPrefAlign[src]
impl<__D: Decoder> Decodable<__D> for AbiAndPrefAlign[src]impl<__E: Encoder> Encodable<__E> for AbiAndPrefAlign[src]
impl<__E: Encoder> Encodable<__E> for AbiAndPrefAlign[src]impl Hash for AbiAndPrefAlign[src]
impl Hash for AbiAndPrefAlign[src]impl<__CTX> HashStable<__CTX> for AbiAndPrefAlign where
__CTX: HashStableContext, [src]
impl<__CTX> HashStable<__CTX> for AbiAndPrefAlign where
__CTX: HashStableContext, [src]fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)[src]
impl PartialEq<AbiAndPrefAlign> for AbiAndPrefAlign[src]
impl PartialEq<AbiAndPrefAlign> for AbiAndPrefAlign[src]fn eq(&self, other: &AbiAndPrefAlign) -> bool[src]
fn eq(&self, other: &AbiAndPrefAlign) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &AbiAndPrefAlign) -> bool[src]
fn ne(&self, other: &AbiAndPrefAlign) -> bool[src]This method tests for !=.
impl Copy for AbiAndPrefAlign[src]
impl Eq 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> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more