Struct llvm_ir::module::PointerLayout
source · [−]Expand description
Layout details for pointers (other than function pointers). See LLVM 14 docs on Data Layout
Fields
size: u32
Size of a pointer in bits
alignment: Alignment
Alignment of a pointer
index_size: u32
Size of an index used for address calculation, in bits
Trait Implementations
sourceimpl Clone for PointerLayout
impl Clone for PointerLayout
sourcefn clone(&self) -> PointerLayout
fn clone(&self) -> PointerLayout
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PointerLayout
impl Debug for PointerLayout
sourceimpl PartialEq<PointerLayout> for PointerLayout
impl PartialEq<PointerLayout> for PointerLayout
sourcefn eq(&self, other: &PointerLayout) -> bool
fn eq(&self, other: &PointerLayout) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for PointerLayout
impl StructuralEq for PointerLayout
impl StructuralPartialEq for PointerLayout
Auto Trait Implementations
impl RefUnwindSafe for PointerLayout
impl Send for PointerLayout
impl Sync for PointerLayout
impl Unpin for PointerLayout
impl UnwindSafe for PointerLayout
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