#[repr(C)]
pub enum Linkage {
ExternalLinkage,
AvailableExternallyLinkage,
LinkOnceAnyLinkage,
LinkOnceODRLinkage,
WeakAnyLinkage,
WeakODRLinkage,
AppendingLinkage,
InternalLinkage,
PrivateLinkage,
ExternalWeakLinkage,
CommonLinkage,
}Expand description
LLVMRustLinkage
Variants
ExternalLinkage
AvailableExternallyLinkage
LinkOnceAnyLinkage
LinkOnceODRLinkage
WeakAnyLinkage
WeakODRLinkage
AppendingLinkage
InternalLinkage
PrivateLinkage
ExternalWeakLinkage
CommonLinkage
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Linkage
impl UnwindSafe for Linkage
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes
Size for each variant:
ExternalLinkage: 0 bytesAvailableExternallyLinkage: 0 bytesLinkOnceAnyLinkage: 0 bytesLinkOnceODRLinkage: 0 bytesWeakAnyLinkage: 0 bytesWeakODRLinkage: 0 bytesAppendingLinkage: 0 bytesInternalLinkage: 0 bytesPrivateLinkage: 0 bytesExternalWeakLinkage: 0 bytesCommonLinkage: 0 bytes