pub struct GlobalRoot { /* private fields */ }Expand description
A root for global/static values
Implementations§
Trait Implementations§
Source§impl GcRoot for GlobalRoot
impl GcRoot for GlobalRoot
Source§fn description(&self) -> String
fn description(&self) -> String
Get a human-readable description of this root
Source§fn estimated_size(&self) -> usize
fn estimated_size(&self) -> usize
Get the estimated size of objects reachable from this root
Auto Trait Implementations§
impl Freeze for GlobalRoot
impl RefUnwindSafe for GlobalRoot
impl Send for GlobalRoot
impl Sync for GlobalRoot
impl Unpin 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