Trait object::build::Id

source ·
pub trait Id: IdPrivate {
    // Required method
    fn index(&self) -> usize;
}
Expand description

An identifier for referring to an item in a Table.

Required Methods§

source

fn index(&self) -> usize

Return the index of the item in the table.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Id for SectionId

source§

impl Id for SegmentId

source§

impl Id for VersionFileId

source§

impl Id for VersionId

source§

impl<const DYNAMIC: bool> Id for SymbolId<DYNAMIC>