#[non_exhaustive]pub struct ParsedItem {
pub offset: usize,
pub address: u32,
pub size: u8,
pub value: ParsedValue,
}Expand description
One streaming parse result with source and address metadata.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.offset: usizeByte offset in the input buffer.
address: u32Mapped 32-bit address.
size: u8Number of bytes consumed.
value: ParsedValueParsed instruction or data value.
Trait Implementations§
Source§impl Clone for ParsedItem
impl Clone for ParsedItem
Source§fn clone(&self) -> ParsedItem
fn clone(&self) -> ParsedItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParsedItem
Source§impl Debug for ParsedItem
impl Debug for ParsedItem
impl Eq for ParsedItem
Source§impl PartialEq for ParsedItem
impl PartialEq for ParsedItem
impl StructuralPartialEq for ParsedItem
Auto Trait Implementations§
impl Freeze for ParsedItem
impl RefUnwindSafe for ParsedItem
impl Send for ParsedItem
impl Sync for ParsedItem
impl Unpin for ParsedItem
impl UnsafeUnpin for ParsedItem
impl UnwindSafe for ParsedItem
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