pub struct ProgramRecord {
pub key: u64,
pub permutations: Vec<u64>,
pub raw: [u8; 168],
}Expand description
One program record of a program lookup’s head, as stored (168 bytes), with the fields read from it: its key (the
first eight bytes) and the ids of the permutations it runs, an array of u64 (the count at 0x60, a pointer to the
array at 0x64). The rest of the record (arrays of state the permutations are drawn with) is kept as stored.
Fields§
§key: u64The material key (u64 at +0 of the record).
permutations: Vec<u64>The ids of the permutations the program runs (a u64 array: count at +0x60, pointer to it at +0x64).
raw: [u8; 168]The whole 168-byte record as stored, including the parts not decoded into the fields above.
Trait Implementations§
Source§impl Clone for ProgramRecord
impl Clone for ProgramRecord
Source§impl Debug for ProgramRecord
impl Debug for ProgramRecord
impl Eq for ProgramRecord
Source§impl PartialEq for ProgramRecord
impl PartialEq for ProgramRecord
impl StructuralPartialEq for ProgramRecord
Auto Trait Implementations§
impl Freeze for ProgramRecord
impl RefUnwindSafe for ProgramRecord
impl Send for ProgramRecord
impl Sync for ProgramRecord
impl Unpin for ProgramRecord
impl UnsafeUnpin for ProgramRecord
impl UnwindSafe for ProgramRecord
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