pub struct StringLookups {
pub rows: Vec<StringLookupsRow>,
}Available on crate feature
wrath only.Fields§
§rows: Vec<StringLookupsRow>Trait Implementations§
Source§impl Clone for StringLookups
impl Clone for StringLookups
Source§fn clone(&self) -> StringLookups
fn clone(&self) -> StringLookups
Returns a duplicate 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 DbcTable for StringLookups
impl DbcTable for StringLookups
Source§const FILENAME: &'static str = "StringLookups.dbc"
const FILENAME: &'static str = "StringLookups.dbc"
The name of the DBC file with
.dbc at the end.Source§type Row = StringLookupsRow
type Row = StringLookupsRow
Will be the name of the implementing type suffixed with
Row.Source§impl Debug for StringLookups
impl Debug for StringLookups
Source§impl Hash for StringLookups
impl Hash for StringLookups
Source§impl Indexable for StringLookups
impl Indexable for StringLookups
Source§type PrimaryKey = StringLookupsKey
type PrimaryKey = StringLookupsKey
Key used to index into the table. Same name as the table suffixed with
Key.Source§fn get(&self, key: impl TryInto<Self::PrimaryKey>) -> Option<&Self::Row>
fn get(&self, key: impl TryInto<Self::PrimaryKey>) -> Option<&Self::Row>
Gets the primary key, if present. Internally this is just
std::iter::Iterator::find since the
items are not guaranteed to be ordered nor even be present.Source§fn get_mut(
&mut self,
key: impl TryInto<Self::PrimaryKey>,
) -> Option<&mut Self::Row>
fn get_mut( &mut self, key: impl TryInto<Self::PrimaryKey>, ) -> Option<&mut Self::Row>
Gets the primary key, if present. Internally this is just
std::iter::Iterator::find since the
items are not guaranteed to be ordered nor even be present.Source§impl Ord for StringLookups
impl Ord for StringLookups
Source§fn cmp(&self, other: &StringLookups) -> Ordering
fn cmp(&self, other: &StringLookups) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StringLookups
impl PartialEq for StringLookups
Source§impl PartialOrd for StringLookups
impl PartialOrd for StringLookups
impl Eq for StringLookups
impl StructuralPartialEq for StringLookups
Auto Trait Implementations§
impl Freeze for StringLookups
impl RefUnwindSafe for StringLookups
impl Send for StringLookups
impl Sync for StringLookups
impl Unpin for StringLookups
impl UnwindSafe for StringLookups
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more