Enum llvm_sys::target_machine::LLVMRelocMode
source · #[repr(C)]pub enum LLVMRelocMode {
LLVMRelocDefault = 0,
LLVMRelocStatic = 1,
LLVMRelocPIC = 2,
LLVMRelocDynamicNoPic = 3,
LLVMRelocROPI = 4,
LLVMRelocRWPI = 5,
LLVMRelocROPI_RWPI = 6,
}
Variants§
LLVMRelocDefault = 0
LLVMRelocStatic = 1
LLVMRelocPIC = 2
LLVMRelocDynamicNoPic = 3
LLVMRelocROPI = 4
LLVMRelocRWPI = 5
LLVMRelocROPI_RWPI = 6
Trait Implementations§
source§impl Clone for LLVMRelocMode
impl Clone for LLVMRelocMode
source§fn clone(&self) -> LLVMRelocMode
fn clone(&self) -> LLVMRelocMode
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 LLVMRelocMode
impl Debug for LLVMRelocMode
source§impl PartialEq for LLVMRelocMode
impl PartialEq for LLVMRelocMode
source§fn eq(&self, other: &LLVMRelocMode) -> bool
fn eq(&self, other: &LLVMRelocMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LLVMRelocMode
impl StructuralPartialEq for LLVMRelocMode
Auto Trait Implementations§
impl RefUnwindSafe for LLVMRelocMode
impl Send for LLVMRelocMode
impl Sync for LLVMRelocMode
impl Unpin for LLVMRelocMode
impl UnwindSafe for LLVMRelocMode
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