pub struct GlobalRoot {
pub name: String,
pub object_id: GcId,
}Expand description
A global variable name and the object its slot references at report time. This is a present-tense fact read from the VM’s global table — the defined root set, not a guess about aliases.
Fields§
§name: String§object_id: GcIdTrait Implementations§
Source§impl Clone for GlobalRoot
impl Clone for GlobalRoot
Source§fn clone(&self) -> GlobalRoot
fn clone(&self) -> GlobalRoot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlobalRoot
impl Debug for GlobalRoot
impl Eq for GlobalRoot
Source§impl PartialEq for GlobalRoot
impl PartialEq for GlobalRoot
Source§impl Serialize for GlobalRoot
impl Serialize for GlobalRoot
impl StructuralPartialEq for GlobalRoot
Auto Trait Implementations§
impl Freeze for GlobalRoot
impl RefUnwindSafe for GlobalRoot
impl Send for GlobalRoot
impl Sync for GlobalRoot
impl Unpin for GlobalRoot
impl UnsafeUnpin for GlobalRoot
impl UnwindSafe for GlobalRoot
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