Enum llvm_sys::comdat::LLVMComdatSelectionKind
source · #[repr(C)]pub enum LLVMComdatSelectionKind {
LLVMAnyComdatSelectionKind,
LLVMExactMatchComdatSelectionKind,
LLVMLargestComdatSelectionKind,
LLVMNoDuplicatesComdatSelectionKind,
LLVMSameSizeComdatSelectionKind,
}
Variants§
LLVMAnyComdatSelectionKind
The linker may choose any COMDAT.
LLVMExactMatchComdatSelectionKind
The data referenced by the COMDAT must be the same.
LLVMLargestComdatSelectionKind
The linker will choose the largest COMDAT.
LLVMNoDuplicatesComdatSelectionKind
No deduplication is performed.
LLVMSameSizeComdatSelectionKind
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<LLVMComdatSelectionKind> for LLVMComdatSelectionKind
impl PartialEq<LLVMComdatSelectionKind> 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 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