Enum llvm_mapper::block::attributes::EnumAttribute[][src]

#[non_exhaustive]
#[repr(u64)]
pub enum EnumAttribute {
Show 72 variants AlwaysInline, ByVal, InlineHint, InReg, MinSize, Naked, Nest, NoAlias, NoBuiltin, NoCapture, NoDuplicate, NoImplicitFloat, NoInline, NonLazyBind, NoRedZone, NoReturn, NoUnwind, OptimizeForSize, ReadNone, ReadOnly, Returned, ReturnsTwice, SExt, StackProtect, StackProtectReq, StackProtectStrong, StructRet, SanitizeAddress, SanitizeThread, SanitizeMemory, UwTable, ZExt, Builtin, Cold, OptimizeNone, InAlloca, NonNull, JumpTable, Convergent, SafeStack, ArgMemOnly, SwiftSelf, SwiftError, NoRecurse, InaccessiblememOnly, InaccessiblememOrArgmemonly, WriteOnly, Speculatable, StrictFp, SanitizeHwAddress, NoCfCheck, OptForFuzzing, Shadowcallstack, SpeculativeLoadHardening, ImmArg, WillReturn, NoFree, NoSync, SanitizeMemtag, Preallocated, NoMerge, NullPointerIsValid, NoUndef, ByRef, MustProgress, NoCallback, Hot, NoProfile, SwiftAsync, NoSanitizeCoverage, ElementType, DisableSanitizerInstrumentation,
}
Expand description

Represents the “enum” attributes, i.e. those with a single integer identifier.

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.
AlwaysInline

alwaysinline

ByVal

byval

InlineHint

inlinehint

InReg

inreg

MinSize

minsize

Naked

naked

Nest

nest

NoAlias

noalias

NoBuiltin

nobuiltin

NoCapture

nocapture

NoDuplicate

noduplicate

NoImplicitFloat

noimplicitfloat

NoInline

noinline

NonLazyBind

nonlazybind

NoRedZone

noredzone

NoReturn

noreturn

NoUnwind

nounwind

OptimizeForSize

optsize

ReadNone

readnone

ReadOnly

readonly

Returned

returned

ReturnsTwice

returns_twice

SExt

signext

StackProtect

ssp

StackProtectReq

sspreq

StackProtectStrong

sspstrong

StructRet

sret

SanitizeAddress

sanitize_address

SanitizeThread

sanitize_thread

SanitizeMemory

sanitize_memory

UwTable

uwtable

ZExt

zeroext

Builtin

builtin

Cold

cold

OptimizeNone

optnone

InAlloca

inalloca

NonNull

nonnull

JumpTable

jumptable

Convergent

convergent

SafeStack

safestack

ArgMemOnly

argmemonly

SwiftSelf

swiftself

SwiftError

swifterror

NoRecurse

norecurse

InaccessiblememOnly

inaccessiblememonly

InaccessiblememOrArgmemonly

inaccessiblememonly_or_argmemonly

WriteOnly

writeonly

Speculatable

speculatable

StrictFp

strictfp

SanitizeHwAddress

sanitize_hwaddress

NoCfCheck

nocf_check

OptForFuzzing

optforfuzzing

Shadowcallstack

shadowcallstack

SpeculativeLoadHardening

speculative_load_hardening

ImmArg

immarg

WillReturn

willreturn

NoFree

nofree

NoSync

nosync

SanitizeMemtag

sanitize_memtag

Preallocated

preallocated

NoMerge

no_merge

NullPointerIsValid

null_pointer_is_valid

NoUndef

noundef

ByRef

byref

MustProgress

mustprogress

NoCallback

no_callback

Hot

hot

NoProfile

no_profile

SwiftAsync

swift_async

NoSanitizeCoverage

nosanitize_coverage

ElementType

elementtype

DisableSanitizerInstrumentation

disable_sanitizer_instrumentation

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.