pub enum LocalKind {
Temp,
Arg,
ReturnPointer,
}
Expand description
Classifies locals into categories. See Body::local_kind
.
Variants§
Temp
User-declared variable binding or compiler-introduced temporary.
Arg
Function argument.
ReturnPointer
Location of function’s return value.
Auto Trait Implementations§
impl Freeze for LocalKind
impl RefUnwindSafe for LocalKind
impl Send for LocalKind
impl Sync for LocalKind
impl Unpin for LocalKind
impl UnwindSafe for LocalKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more