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