pub trait XrBlockParserExt<'a>: XrBlockParser<'a> {
// Provided methods
fn block_type(&self) -> u8 { ... }
fn type_specific_byte(&self) -> u8 { ... }
fn length(&self) -> usize { ... }
}
Expand description
Extension trait providing helpers for parsing a XrBlock
.
Provided Methods§
Sourcefn block_type(&self) -> u8
fn block_type(&self) -> u8
The indicator for the particular XR block being parsed
Sourcefn type_specific_byte(&self) -> u8
fn type_specific_byte(&self) -> u8
The type specific value in the XR block header
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.