Enum rustc_codegen_llvm::llvm_::ffi::Linkage
source · #[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§
impl Copy for Linkage
impl StructuralPartialEq for Linkage
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§
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