enum Root {
Local(Local),
Upvar(usize),
Slot(usize, usize),
}Expand description
Where a value lives in a body: a local, or, in a closure or coroutine, one of its captured
values (upvar k) or a slot of a suspended coroutine’s state (variant, field), where locals
live across an await.
Variants§
Trait Implementations§
impl Copy for Root
impl Eq for Root
impl StructuralPartialEq for Root
Auto Trait Implementations§
impl DynSend for Root
impl DynSync for Root
impl Forget for Root
impl Freeze for Root
impl Move for Root
impl RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl UnsafeUnpin for Root
impl UnwindSafe for Root
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