pub struct GcContainer { /* private fields */ }
Implementations§
Source§impl GcContainer
impl GcContainer
pub fn new() -> GcContainer
pub fn add_array(&self, arr: &Rc<(GosArrayObj, RCount)>)
pub fn add_closure(&self, cls: &Rc<(ClosureObj, RCount)>)
pub fn add_map(&self, m: &Rc<(MapObj, RCount)>)
pub fn add_struct(&self, s: &Rc<(StructObj, RCount)>)
Auto Trait Implementations§
impl Freeze for GcContainer
impl !RefUnwindSafe for GcContainer
impl !Send for GcContainer
impl !Sync for GcContainer
impl Unpin for GcContainer
impl !UnwindSafe for GcContainer
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