pub struct AlignedSample {
pub timestamp: f64,
pub values: Vec<f64>,
pub gap_mask: u64,
}Expand description
One aligned sample on the common monotonic output grid.
Fields§
§timestamp: f64Monotonic timestamp on the common output grid, in seconds.
values: Vec<f64>Concatenated channel values across all input streams, in stream order.
Channels belonging to a stream with a gap at this timestamp are NaN.
gap_mask: u64Bitmask of streams that experienced a gap covering this timestamp
(bit i = stream i; 0 means every stream is clean).
Implementations§
Trait Implementations§
Source§impl Clone for AlignedSample
impl Clone for AlignedSample
Source§fn clone(&self) -> AlignedSample
fn clone(&self) -> AlignedSample
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 moreSource§impl Debug for AlignedSample
impl Debug for AlignedSample
Source§impl PartialEq for AlignedSample
impl PartialEq for AlignedSample
impl StructuralPartialEq for AlignedSample
Auto Trait Implementations§
impl Forget for AlignedSample
impl Freeze for AlignedSample
impl Move for AlignedSample
impl RefUnwindSafe for AlignedSample
impl Send for AlignedSample
impl Sync for AlignedSample
impl Unpin for AlignedSample
impl UnsafeUnpin for AlignedSample
impl UnwindSafe for AlignedSample
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