pub struct GroupData {
pub times: Vec<u64>,
pub sources: Vec<u8>,
pub bad_points: Vec<u32>,
pub t0: Option<u64>,
/* private fields */
}Expand description
一组在一次采集中的全部数据。
Fields§
§times: Vec<u64>每个点的 CONV 时刻,单位 T/64(T = 采样周期)。该组未开启时间字时为空。
sources: Vec<u8>每个点的来源:0..=3 为边沿检测器,4 为内部发生器。未开启时间字时为空。
bad_points: Vec<u32>无效点(late 或饱和)的序号。未开启时间字时设备不逐点上报,恒为空。
t0: Option<u64>第一个点的时刻(T/64),不论是否开启时间字都有。没有点时为 None。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GroupData
impl RefUnwindSafe for GroupData
impl Send for GroupData
impl Sync for GroupData
impl Unpin for GroupData
impl UnwindSafe for GroupData
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