pub struct PackedDfa {
pub format: DfaPackFormat,
pub state_count: u32,
pub start: u32,
pub bytes: Vec<u8>,
}Expand description
Packed DFA ready for upload to a GPU buffer.
Fields§
§format: DfaPackFormatWhich format the bytes encode.
state_count: u32Number of DFA states before packing.
start: u32Start state id.
bytes: Vec<u8>Raw serialized bytes (GPU-uploadable).
Trait Implementations§
impl Eq for PackedDfa
impl StructuralPartialEq for PackedDfa
Auto Trait Implementations§
impl Freeze for PackedDfa
impl RefUnwindSafe for PackedDfa
impl Send for PackedDfa
impl Sync for PackedDfa
impl Unpin for PackedDfa
impl UnsafeUnpin for PackedDfa
impl UnwindSafe for PackedDfa
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