#[non_exhaustive]#[repr(u64)]pub enum Linkage {
External = 0,
AvailableExternally = 1,
LinkOnceAny = 2,
LinkOnceOdr = 3,
WeakAny = 4,
WeakOdr = 5,
Appending = 6,
Internal = 7,
Private = 8,
ExternalWeak = 9,
Common = 10,
}
Expand description
Global value linkage types.
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.
External = 0
AvailableExternally = 1
LinkOnceAny = 2
LinkOnceOdr = 3
WeakAny = 4
WeakOdr = 5
Appending = 6
Internal = 7
Private = 8
ExternalWeak = 9
Common = 10
Trait Implementations§
impl StructuralPartialEq for Linkage
Auto Trait Implementations§
impl Freeze for Linkage
impl RefUnwindSafe for Linkage
impl Send for Linkage
impl Sync for Linkage
impl Unpin for Linkage
impl UnwindSafe for Linkage
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