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