pub enum StackSlotKind {
SpillSlot,
ExplicitSlot,
IncomingArg,
OutgoingArg,
EmergencySlot,
}The kind of a stack slot.
A spill slot. This is a stack slot created by the register allocator.
An explicit stack slot. This is a chunk of stack memory for use by the stack_load
and stack_store instructions.
An incoming function argument.
If the current function has more arguments than fits in registers, the remaining arguments
are passed on the stack by the caller. These incoming arguments are represented as SSA
values assigned to incoming stack slots.
An outgoing function argument.
When preparing to call a function whose arguments don't fit in registers, outgoing argument
stack slots are used to represent individual arguments in the outgoing call frame. These
stack slots are only valid while setting up a call.
An emergency spill slot.
Emergency slots are allocated late when the register's constraint solver needs extra space
to shuffle registers around. They are only used briefly, and can be reused.
Formats the value using the given formatter. 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 associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more
Performs copy-assignment from source. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
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
Converts the given value to a String. Read more