pub struct Comdat(_);
Expand description
A Comdat
determines how to resolve duplicate sections when linking.
Implementations§
source§impl Comdat
impl Comdat
sourcepub unsafe fn new(comdat: LLVMComdatRef) -> Self
pub unsafe fn new(comdat: LLVMComdatRef) -> Self
Creates a new Comdat
type from a raw pointer.
sourcepub fn as_mut_ptr(&self) -> LLVMComdatRef
pub fn as_mut_ptr(&self) -> LLVMComdatRef
Acquires the underlying raw pointer belonging to this Comdat
type.
sourcepub fn get_selection_kind(self) -> ComdatSelectionKind
pub fn get_selection_kind(self) -> ComdatSelectionKind
Gets what kind of Comdat
this is.
sourcepub fn set_selection_kind(self, kind: ComdatSelectionKind)
pub fn set_selection_kind(self, kind: ComdatSelectionKind)
Sets what kind of Comdat
this should be.