pub enum Linkage {
External,
AvailableExternally,
LinkOnceAny,
LinkOnceODR,
WeakAny,
WeakODR,
Appending,
Internal,
Private,
ExternalWeak,
Common,
}
Expand description
Specifies the linkage type for a MonoItem
.
See https://llvm.org/docs/LangRef.html#linkage-types for more details about these variants.
Variants§
External
AvailableExternally
LinkOnceAny
LinkOnceODR
WeakAny
WeakODR
Appending
Internal
Private
ExternalWeak
Common
Auto Trait Implementations§
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