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 !RefUnwindSafe for GcWeak
impl !Send for GcWeak
impl !Sync for GcWeak
impl !UnwindSafe for GcWeak
impl Freeze for GcWeak
impl Unpin for GcWeak
impl UnsafeUnpin 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