pub struct StackRoot {
pub stack_slot_addr: *mut u64,
pub heap_ptr: *mut u8,
}Expand description
A collected GC root: the address on the stack where a heap pointer lives.
Fields§
§stack_slot_addr: *mut u64Address on the stack containing the heap pointer.
heap_ptr: *mut u8Current value of the heap pointer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StackRoot
impl RefUnwindSafe for StackRoot
impl !Send for StackRoot
impl !Sync for StackRoot
impl Unpin for StackRoot
impl UnsafeUnpin for StackRoot
impl UnwindSafe for StackRoot
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