Struct llvm_ir::module::FunctionPtrAlignment
source · pub struct FunctionPtrAlignment {
pub independent: bool,
pub abi: u32,
}
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§
source§impl Clone for FunctionPtrAlignment
impl Clone for FunctionPtrAlignment
source§fn clone(&self) -> FunctionPtrAlignment
fn clone(&self) -> FunctionPtrAlignment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FunctionPtrAlignment
impl Debug for FunctionPtrAlignment
source§impl PartialEq<FunctionPtrAlignment> for FunctionPtrAlignment
impl PartialEq<FunctionPtrAlignment> for FunctionPtrAlignment
source§fn 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 ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more