Struct llvm_ir::module::FunctionPtrAlignment
source · [−]Expand description
Alignment details for function pointers. See LLVM 14 docs on Data Layout
Fields
independent: bool
If true
, function pointer alignment is independent of function alignment.
If false
, function pointer alignment is a multiple of function alignment.
abi: u32
Minimum alignment (in bits) per the ABI
Trait Implementations
sourceimpl Clone for FunctionPtrAlignment
impl Clone for FunctionPtrAlignment
sourcefn clone(&self) -> FunctionPtrAlignment
fn clone(&self) -> FunctionPtrAlignment
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 FunctionPtrAlignment
impl Debug for FunctionPtrAlignment
sourceimpl PartialEq<FunctionPtrAlignment> for FunctionPtrAlignment
impl PartialEq<FunctionPtrAlignment> for FunctionPtrAlignment
sourcefn eq(&self, other: &FunctionPtrAlignment) -> bool
fn eq(&self, other: &FunctionPtrAlignment) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for FunctionPtrAlignment
impl StructuralEq for FunctionPtrAlignment
impl StructuralPartialEq for FunctionPtrAlignment
Auto Trait Implementations
impl RefUnwindSafe for FunctionPtrAlignment
impl Send for FunctionPtrAlignment
impl Sync for FunctionPtrAlignment
impl Unpin for FunctionPtrAlignment
impl UnwindSafe for FunctionPtrAlignment
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