pub struct FieldDecodeContext {
pub tick_interval: f32,
pub string_buf: Vec<u8>,
}Expand description
Mutable state shared across field decoders during a single parse pass.
Fields§
§tick_interval: f32Current tick interval; used by the simulation-time decoder.
string_buf: Vec<u8>Reusable buffer for string decoding (avoids per-field allocations).
Implementations§
Auto Trait Implementations§
impl Freeze for FieldDecodeContext
impl RefUnwindSafe for FieldDecodeContext
impl Send for FieldDecodeContext
impl Sync for FieldDecodeContext
impl Unpin for FieldDecodeContext
impl UnsafeUnpin for FieldDecodeContext
impl UnwindSafe for FieldDecodeContext
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