#[repr(u8)]pub enum ComdatSelectionKind {
Any = 1,
ExactMatch = 2,
Largest = 3,
NoDuplicates = 4,
SameSize = 5,
}Expand description
COMDATSELECTIONKIND enumerates the possible selection mechanisms for COMDAT sections.
Variants§
Trait Implementations§
Source§impl Clone for ComdatSelectionKind
impl Clone for ComdatSelectionKind
Source§fn clone(&self) -> ComdatSelectionKind
fn clone(&self) -> ComdatSelectionKind
Returns a duplicate 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 ComdatSelectionKind
impl Debug for ComdatSelectionKind
Source§impl TryFrom<u8> for ComdatSelectionKind
impl TryFrom<u8> for ComdatSelectionKind
Source§type Error = TryFromPrimitiveError<ComdatSelectionKind>
type Error = TryFromPrimitiveError<ComdatSelectionKind>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ComdatSelectionKind
impl TryFromPrimitive for ComdatSelectionKind
const NAME: &'static str = "ComdatSelectionKind"
type Primitive = u8
type Error = TryFromPrimitiveError<ComdatSelectionKind>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for ComdatSelectionKind
Auto Trait Implementations§
impl Freeze for ComdatSelectionKind
impl RefUnwindSafe for ComdatSelectionKind
impl Send for ComdatSelectionKind
impl Sync for ComdatSelectionKind
impl Unpin for ComdatSelectionKind
impl UnwindSafe for ComdatSelectionKind
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