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