pub struct Record {
pub start: usize,
pub name_at: usize,
pub name_len: usize,
pub object: usize,
pub object_size: usize,
}Expand description
One variable record of a directory body (wiki: hardware/hp48-system-ram “Directories”): a 5-nibble offset from this field back to the previous record’s name length field (0 for the first record), the name’s length n in 2 nibbles, its characters, n again (absent when n = 0), the object. Records lie oldest first; the directory’s offset field points at the newest.
Fields§
§start: usizeNibble of the back-offset field (the record’s start).
name_at: usizeNibble of the first name length field.
name_len: usizeName length in characters.
object: usizeNibble of the object (or the 5-nibble ROM pointer).
object_size: usizeSize of the object in nibbles.
Implementations§
Trait Implementations§
impl Copy for Record
impl Eq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnsafeUnpin for Record
impl UnwindSafe for Record
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