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