pub struct Locals<'a> { /* private fields */ }
Expand description
Locals are the concatenation of a slice of function parameters
with function declared local variables.
Local variables are given in the form of groups represented by pairs
of a value_type and a count.
Create a new wrapper around declared variables and parameters.
Returns total count of all declared locals and paramaterers.
Returns the type of a local variable (either a declared local or a param).
Returns Err
in the case of overflow or when idx falls out of range.
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
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.