Expand description
Alignment details for a type. See LLVM 14 docs on Data Layout
Fields
abi: u32
Minimum alignment (in bits) per the ABI
pref: u32
Preferred alignment (in bits)
Trait Implementations
sourceimpl PartialEq<Alignment> for Alignment
impl PartialEq<Alignment> for Alignment
impl Eq for Alignment
impl StructuralEq for Alignment
impl StructuralPartialEq for Alignment
Auto Trait Implementations
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnwindSafe for Alignment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more