pub struct CollectibleComponentTable<'a> { /* private fields */ }
Expand description
Implementations§
source§impl<'a> CollectibleComponentTable<'a>
impl<'a> CollectibleComponentTable<'a>
sourcepub fn get_col(&self, col: CollectibleComponentColumn) -> Option<usize>
pub fn get_col(&self, col: CollectibleComponentColumn) -> Option<usize>
Get the “real” index of the well-known column
sourcepub fn row_iter<'b>(
&'b self
) -> RowIter<'a, 'b, CollectibleComponentRow<'a, 'b>> ⓘ
pub fn row_iter<'b>( &'b self ) -> RowIter<'a, 'b, CollectibleComponentRow<'a, 'b>> ⓘ
Iterate over all rows
sourcepub fn key_iter<'b: 'a>(
&'b self,
key: i32
) -> impl Iterator<Item = CollectibleComponentRow<'a, 'b>>
pub fn key_iter<'b: 'a>( &'b self, key: i32 ) -> impl Iterator<Item = CollectibleComponentRow<'a, 'b>>
Iterate over all rows that have a specific key
Trait Implementations§
source§impl<'a> Clone for CollectibleComponentTable<'a>
impl<'a> Clone for CollectibleComponentTable<'a>
source§fn clone(&self) -> CollectibleComponentTable<'a>
fn clone(&self) -> CollectibleComponentTable<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> TypedTable<'a> for CollectibleComponentTable<'a>
impl<'a> TypedTable<'a> for CollectibleComponentTable<'a>
§type Column = CollectibleComponentColumn
type Column = CollectibleComponentColumn
The type representing one well-known column