pub struct Variable {
pub name: String,
pub kind: String,
pub size: f64,
pub checksum: u16,
pub address: u32,
pub variables: Option<Vec<Variable>>,
}Expand description
A variable of a directory as the calculator lists it (VARS order,
BYTES size and checksum).
Fields§
§name: StringName (HP characters as Unicode).
kind: StringThe type name as G D prints it, e.g. Real Number, Directory.
size: f64Size in bytes as BYTES reports it: the whole variable record
(name and object), so it can end in .5.
checksum: u16BYTES’s checksum: the CRC of the object’s nibbles.
address: u32Address of the object in memory.
variables: Option<Vec<Variable>>A directory’s variables, newest first.
Trait Implementations§
impl StructuralPartialEq for Variable
Auto Trait Implementations§
impl Forget for Variable
impl Freeze for Variable
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnsafeUnpin for Variable
impl UnwindSafe for Variable
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