pub struct KView<'a> {
pub source: &'a [u8],
pub tape: &'a [u32],
}Expand description
Takes a &'a [u8] and a reference to the structural index (Tape).
Allows jumping directly to offsets without full deserialization.
Fields§
§source: &'a [u8]§tape: &'a [u32]The tape is a sequence of structural elements represented as indices or tokens.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for KView<'a>
impl<'a> RefUnwindSafe for KView<'a>
impl<'a> Send for KView<'a>
impl<'a> Sync for KView<'a>
impl<'a> Unpin for KView<'a>
impl<'a> UnsafeUnpin for KView<'a>
impl<'a> UnwindSafe for KView<'a>
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