struct Registry {
objs: ChunkVec<usize>,
obj_free: Vec<u32>,
scopes: ChunkVec<usize>,
scope_free: Vec<u32>,
}Expand description
生きている Obj・Scope の台帳(Rc::as_ptr の番地。空きは 0)。
番地の列は塊に分ける(伸びるときに数 MB〜十数 MB の連続領域を要さない。ChunkVec 参照)。
Fields§
§objs: ChunkVec<usize>§obj_free: Vec<u32>§scopes: ChunkVec<usize>§scope_free: Vec<u32>Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnsafeUnpin for Registry
impl UnwindSafe for Registry
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