1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

cow string table name

This commit is contained in:
Robin Appelman 2020-12-06 18:10:58 +01:00
commit 28ad5fafde
2 changed files with 3 additions and 2 deletions

View file

@ -17,7 +17,7 @@ pub struct FixedUserDataSize {
#[derive(Debug)]
pub struct StringTable<'a> {
pub name: String,
pub name: Cow<'a, str>,
pub entries: Vec<(u16, StringTableEntry<'a>)>,
pub max_entries: u16,
pub fixed_user_data_size: Option<FixedUserDataSize>,