pub struct ElementTags {
pub stream: Option<u32>,
pub dynamic_index_mask: Option<u8>,
pub usage_mask: Option<u8>,
pub other: Vec<(i64, i64)>,
}Expand description
The trailing tags of one signature element (the element record’s operand 10, a list of tag and value pairs). The compiler writes tag 0 for an output of another stream than 0, tag 2 for an input indexed dynamically and tag 3 for the components in use. Of the 691,000 elements of skate.’s and Elden Ring’s programs only tag 3 occurs.
Fields§
§stream: Option<u32>Tag 0: the stream (of a geometry program) the element is written to; None where the element states none.
dynamic_index_mask: Option<u8>Tag 2: the components of the element that are indexed dynamically, bit 0 the element’s first component.
usage_mask: Option<u8>Tag 3: the usage mask (usage_masks).
other: Vec<(i64, i64)>Every other tag with an integer value, as stored.
Trait Implementations§
Source§impl Clone for ElementTags
impl Clone for ElementTags
Source§impl Debug for ElementTags
impl Debug for ElementTags
Source§impl Default for ElementTags
impl Default for ElementTags
impl Eq for ElementTags
Source§impl PartialEq for ElementTags
impl PartialEq for ElementTags
impl StructuralPartialEq for ElementTags
Auto Trait Implementations§
impl Forget for ElementTags
impl Freeze for ElementTags
impl RefUnwindSafe for ElementTags
impl Send for ElementTags
impl Sync for ElementTags
impl Unpin for ElementTags
impl UnsafeUnpin for ElementTags
impl UnwindSafe for ElementTags
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