pub struct TagReference {
pub field_block: i32,
pub field_offset: u32,
pub(crate) name_offset: u32,
pub dependency_index: i32,
pub name: Option<String>,
}
Expand description
Structure that defines a reference to a tag.
Fields§
§field_block: i32
The index of the data block containing the tag field.
field_offset: u32
The offset of the tag data block containing the referenced data. Can be -1 for null references.
name_offset: u32
The offset of the tag file name inside the tag string table.
dependency_index: i32
The index of the tag dependency in the tag dependency list. Can be -1 for null tag references.
name: Option<String>
Tag name of the reference, located at the position of the Self::name_offset
in the tag string table.
This only contains values before Season 3.
Trait Implementations§
Source§impl Debug for TagReference
impl Debug for TagReference
Source§impl Default for TagReference
impl Default for TagReference
Source§fn default() -> TagReference
fn default() -> TagReference
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TagReference
impl RefUnwindSafe for TagReference
impl Send for TagReference
impl Sync for TagReference
impl Unpin for TagReference
impl UnwindSafe for TagReference
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