#[non_exhaustive]#[repr(usize)]pub enum LinkageSpecifierKind {
Export = 0,
Thread = 1,
Section = 2,
}Expand description
The kind of LinkageSpecifier.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for LinkageSpecifierKind
impl Clone for LinkageSpecifierKind
Source§fn clone(&self) -> LinkageSpecifierKind
fn clone(&self) -> LinkageSpecifierKind
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 LinkageSpecifierKind
impl Debug for LinkageSpecifierKind
Source§impl Display for LinkageSpecifierKind
impl Display for LinkageSpecifierKind
Source§impl Hash for LinkageSpecifierKind
impl Hash for LinkageSpecifierKind
Source§impl Ord for LinkageSpecifierKind
impl Ord for LinkageSpecifierKind
Source§fn cmp(&self, other: &LinkageSpecifierKind) -> Ordering
fn cmp(&self, other: &LinkageSpecifierKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LinkageSpecifierKind
impl PartialEq for LinkageSpecifierKind
Source§impl PartialOrd for LinkageSpecifierKind
impl PartialOrd for LinkageSpecifierKind
impl Copy for LinkageSpecifierKind
impl Eq for LinkageSpecifierKind
impl StructuralPartialEq for LinkageSpecifierKind
Auto Trait Implementations§
impl Freeze for LinkageSpecifierKind
impl RefUnwindSafe for LinkageSpecifierKind
impl Send for LinkageSpecifierKind
impl Sync for LinkageSpecifierKind
impl Unpin for LinkageSpecifierKind
impl UnwindSafe for LinkageSpecifierKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.