Enum llvm_sys::comdat::LLVMComdatSelectionKind
source · #[repr(C)]pub enum LLVMComdatSelectionKind {
LLVMAnyComdatSelectionKind = 0,
LLVMExactMatchComdatSelectionKind = 1,
LLVMLargestComdatSelectionKind = 2,
LLVMNoDuplicatesComdatSelectionKind = 3,
LLVMSameSizeComdatSelectionKind = 4,
}
Variants§
LLVMAnyComdatSelectionKind = 0
The linker may choose any COMDAT.
LLVMExactMatchComdatSelectionKind = 1
The data referenced by the COMDAT must be the same.
LLVMLargestComdatSelectionKind = 2
The linker will choose the largest COMDAT.
LLVMNoDuplicatesComdatSelectionKind = 3
No deduplication is performed.
LLVMSameSizeComdatSelectionKind = 4
The data referenced by the COMDAT must be the same size.
Trait Implementations§
source§impl Clone for LLVMComdatSelectionKind
impl Clone for LLVMComdatSelectionKind
source§fn clone(&self) -> LLVMComdatSelectionKind
fn clone(&self) -> LLVMComdatSelectionKind
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 LLVMComdatSelectionKind
impl Debug for LLVMComdatSelectionKind
source§impl PartialEq for LLVMComdatSelectionKind
impl PartialEq for LLVMComdatSelectionKind
impl Copy for LLVMComdatSelectionKind
impl StructuralPartialEq for LLVMComdatSelectionKind
Auto Trait Implementations§
impl Freeze for LLVMComdatSelectionKind
impl RefUnwindSafe for LLVMComdatSelectionKind
impl Send for LLVMComdatSelectionKind
impl Sync for LLVMComdatSelectionKind
impl Unpin for LLVMComdatSelectionKind
impl UnwindSafe for LLVMComdatSelectionKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)