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
source§fn eq(&self, other: &LLVMComdatSelectionKind) -> bool
fn eq(&self, other: &LLVMComdatSelectionKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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