pub struct RailActivatorComponentTable<'a> { /* private fields */ }
Expand description
Implementations§
source§impl<'a> RailActivatorComponentTable<'a>
impl<'a> RailActivatorComponentTable<'a>
sourcepub fn get_col(&self, col: RailActivatorComponentColumn) -> Option<usize>
pub fn get_col(&self, col: RailActivatorComponentColumn) -> Option<usize>
Get the “real” index of the well-known column
sourcepub fn row_iter<'b>(
&'b self
) -> RowIter<'a, 'b, RailActivatorComponentRow<'a, 'b>> ⓘ
pub fn row_iter<'b>( &'b self ) -> RowIter<'a, 'b, RailActivatorComponentRow<'a, 'b>> ⓘ
Iterate over all rows
sourcepub fn key_iter<'b: 'a>(
&'b self,
key: i32
) -> impl Iterator<Item = RailActivatorComponentRow<'a, 'b>>
pub fn key_iter<'b: 'a>( &'b self, key: i32 ) -> impl Iterator<Item = RailActivatorComponentRow<'a, 'b>>
Iterate over all rows that have a specific key
Trait Implementations§
source§impl<'a> Clone for RailActivatorComponentTable<'a>
impl<'a> Clone for RailActivatorComponentTable<'a>
source§fn clone(&self) -> RailActivatorComponentTable<'a>
fn clone(&self) -> RailActivatorComponentTable<'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 RailActivatorComponentTable<'a>
impl<'a> TypedTable<'a> for RailActivatorComponentTable<'a>
§type Column = RailActivatorComponentColumn
type Column = RailActivatorComponentColumn
The type representing one well-known column