pub struct Dump {
pub kind: DumpKind,
pub applications: Vec<ObjKey>,
pub elements: HashMap<ObjKey, RawElement>,
pub order: Vec<ObjKey>,
}Fields§
§kind: DumpKind§applications: Vec<ObjKey>Application elements in the order the phone listed them.
elements: HashMap<ObjKey, RawElement>§order: Vec<ObjKey>Elements in the order their first answer appeared.
Implementations§
Source§impl Dump
impl Dump
pub fn parse(bytes: &[u8]) -> Result<Self>
Sourcepub fn absorb(&mut self, extra: &Dump)
pub fn absorb(&mut self, extra: &Dump)
Copy attributes this dump lacks from extra (the additional pass of the
same screen). Elements that are not in this dump are ignored.
Sourcepub fn same_elements(&self, other: &Dump) -> bool
pub fn same_elements(&self, other: &Dump) -> bool
True when other describes the same set of elements.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Dump
impl Freeze for Dump
impl Move for Dump
impl RefUnwindSafe for Dump
impl Send for Dump
impl Sync for Dump
impl Unpin for Dump
impl UnsafeUnpin for Dump
impl UnwindSafe for Dump
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