pub struct FunctionEntry {
pub index: u32,
pub info: FunctionInfo,
pub scan_index: ScanIndex,
pub dat_path: PathBuf,
pub dat_size: u64,
pub encoding: Encoding,
pub cal: FunctionCal,
}Expand description
One acquisition function’s static metadata, ready for decoding.
Fields§
§index: u321-based function index.
info: FunctionInfo_FUNCTNS.INF record for this function.
scan_index: ScanIndexScan index parsed from _FUNCnnn.IDX.
dat_path: PathBufPath to _FUNCnnn.DAT.
dat_size: u64Length of _FUNCnnn.DAT in bytes; used to size the trailing scan.
encoding: EncodingDecoder this function’s DAT requires.
cal: FunctionCalCalibration polynomial pulled from _HEADER.TXT.
Implementations§
Source§impl FunctionEntry
impl FunctionEntry
Sourcepub fn scan_count(&self) -> usize
pub fn scan_count(&self) -> usize
Number of scans in this function.
Trait Implementations§
Source§impl Clone for FunctionEntry
impl Clone for FunctionEntry
Source§fn clone(&self) -> FunctionEntry
fn clone(&self) -> FunctionEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FunctionEntry
impl RefUnwindSafe for FunctionEntry
impl Send for FunctionEntry
impl Sync for FunctionEntry
impl Unpin for FunctionEntry
impl UnsafeUnpin for FunctionEntry
impl UnwindSafe for FunctionEntry
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