pub struct Comdat(/* private fields */);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.
Trait Implementations§
source§impl PartialEq for Comdat
 
impl PartialEq for Comdat
impl Copy for Comdat
impl Eq for Comdat
impl StructuralEq for Comdat
impl StructuralPartialEq for Comdat
Auto Trait Implementations§
impl RefUnwindSafe for Comdat
impl !Send for Comdat
impl !Sync for Comdat
impl Unpin for Comdat
impl UnwindSafe for Comdat
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