pub struct Wrapper {
pub payload: Vec<u8>,
pub version: u8,
pub start: usize,
pub length: usize,
}Expand description
A located wrapper and the byte range it occupies in the host text.
Fields§
§payload: Vec<u8>The Manifest Store bytes, excluding any trailing padding.
version: u8The frame version that decoded.
start: usizeByte offset of the U+FEFF marker in the host text as stored, before
any normalization.
length: usizeByte length from the marker through the end of the selector run, including any trailing padding.
Implementations§
Trait Implementations§
impl Eq for Wrapper
impl StructuralPartialEq for Wrapper
Auto Trait Implementations§
impl Freeze for Wrapper
impl RefUnwindSafe for Wrapper
impl Send for Wrapper
impl Sync for Wrapper
impl Unpin for Wrapper
impl UnsafeUnpin for Wrapper
impl UnwindSafe for Wrapper
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