pub enum Slot {
Record(Record),
Free(u32),
Empty,
}Expand description
One entry of a table’s record-slot array.
Variants§
Record(Record)
A live record.
Free(u32)
A free-list link, preserved verbatim: its low bit is set, and the rest is macOS’s bookkeeping for reusing this record number.
Empty
Never used, written as zero.
Implementations§
Trait Implementations§
impl Eq for Slot
impl StructuralPartialEq for Slot
Auto Trait Implementations§
impl Freeze for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
impl UnwindSafe for Slot
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