pub struct Decoded {
pub value: Value,
pub rest: usize,
}Expand description
A decoded object: its value, and the bytes after what its type tree covers.
Fields§
§value: ValueThe decoded object.
rest: usizeHow many of the object’s bytes lie after what the type tree covers.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Decoded
Auto Trait Implementations§
impl Freeze for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decoded
impl Sync for Decoded
impl Unpin for Decoded
impl UnsafeUnpin for Decoded
impl UnwindSafe for Decoded
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