pub struct Table { /* private fields */ }Expand description
The index and bookkeeping of one collection.
Implementations§
Source§impl Table
impl Table
pub fn new(width: usize) -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn width(&self) -> usize
Sourcepub fn is_zombie(&self, entry: usize) -> bool
pub fn is_zombie(&self, entry: usize) -> bool
Whether deleted entry entry is a QuickJS zombie: the record a live
iterator last returned, which QuickJS keeps linked (and its printer
shows as an empty item) until the iterator moves on.
pub fn owned_bytes(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Table
impl !Send for Table
impl !Sync for Table
impl !UnwindSafe for Table
impl Freeze for Table
impl Unpin for Table
impl UnsafeUnpin for Table
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