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