pub struct StringTableData {
pub count: u32,
pub hashes: Vec<i32>,
pub sources: Vec<i32>,
pub starts: Vec<i32>,
pub ends: Vec<i32>,
pub texts: Vec<Option<CodeUnits>>,
pub pool: Vec<u16>,
pub values: Vec<Option<Rc<str>>>,
}Expand description
copy of a string table, see StringTable::export
Fields§
§count: u32§hashes: Vec<i32>§sources: Vec<i32>§starts: Vec<i32>§ends: Vec<i32>§texts: Vec<Option<CodeUnits>>code units of each source, by source index
pool: Vec<u16>§values: Vec<Option<Rc<str>>>the strings of the StringSource::Value entries, by id
Trait Implementations§
Source§impl Clone for StringTableData
impl Clone for StringTableData
Source§impl Debug for StringTableData
impl Debug for StringTableData
Auto Trait Implementations§
impl !Send for StringTableData
impl !Sync for StringTableData
impl Forget for StringTableData
impl Freeze for StringTableData
impl Move for StringTableData
impl RefUnwindSafe for StringTableData
impl Unpin for StringTableData
impl UnsafeUnpin for StringTableData
impl UnwindSafe for StringTableData
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