pub enum FunctionPointerAlign {
Independent {
abi_alignment: Align,
},
MultipleOfFunctionAlign {
abi_alignment: Align,
},
}
Expand description
A model for function pointer alignment behavior.
Variants§
Independent
The alignment of function pointers is independent of the alignment of functions, and is a multiple of the associated ABI alignment.
MultipleOfFunctionAlign
The alignment of function pointers is a multiple of the explicit alignment specified on the function, and is a multiple of the associated ABI alignment.
Trait Implementations§
Source§impl Debug for FunctionPointerAlign
impl Debug for FunctionPointerAlign
Source§impl PartialEq for FunctionPointerAlign
impl PartialEq for FunctionPointerAlign
impl StructuralPartialEq for FunctionPointerAlign
Auto Trait Implementations§
impl Freeze for FunctionPointerAlign
impl RefUnwindSafe for FunctionPointerAlign
impl Send for FunctionPointerAlign
impl Sync for FunctionPointerAlign
impl Unpin for FunctionPointerAlign
impl UnwindSafe for FunctionPointerAlign
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