pub struct FieldNode {
pub name: String,
pub value: FieldValue,
pub range: Option<(u64, u64)>,
pub note: Option<String>,
pub children: Vec<FieldNode>,
}Expand description
One node in a decoded field tree.
Fields§
§name: String§value: FieldValue§range: Option<(u64, u64)>Byte range within the partition data this field occupies, if any.
note: Option<String>An optional remark, e.g. "magic OK" or "reserved must be 0".
children: Vec<FieldNode>Implementations§
Trait Implementations§
impl StructuralPartialEq for FieldNode
Auto Trait Implementations§
impl Freeze for FieldNode
impl RefUnwindSafe for FieldNode
impl Send for FieldNode
impl Sync for FieldNode
impl Unpin for FieldNode
impl UnsafeUnpin for FieldNode
impl UnwindSafe for FieldNode
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