pub enum GcWeak {
Array(Weak<(ArrayObj, RCount)>),
Closure(Weak<(RefCell<ClosureObj>, RCount)>),
Slice(Weak<(SliceObj, RCount)>),
Map(Weak<(MapObj, RCount)>),
Struct(Weak<(RefCell<StructObj>, RCount)>),
}
Variants§
Array(Weak<(ArrayObj, RCount)>)
Closure(Weak<(RefCell<ClosureObj>, RCount)>)
Slice(Weak<(SliceObj, RCount)>)
Map(Weak<(MapObj, RCount)>)
Struct(Weak<(RefCell<StructObj>, RCount)>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcWeak
impl !RefUnwindSafe for GcWeak
impl !Send for GcWeak
impl !Sync for GcWeak
impl Unpin for GcWeak
impl !UnwindSafe for GcWeak
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