pub struct RelativeRecordData {
pub offset: f64,
pub raw_signal_samples: Vec<i16>,
}Fields§
§offset: f64§raw_signal_samples: Vec<i16>Implementations§
Source§impl RelativeRecordData
impl RelativeRecordData
pub fn new(offset: f64) -> Self
pub fn get_digital_samples(&self, signal: &SignalHeader) -> Vec<i32>
pub fn get_physical_samples(&self, signal: &SignalHeader) -> Vec<f64>
Trait Implementations§
Source§impl Clone for RelativeRecordData
impl Clone for RelativeRecordData
Source§fn clone(&self) -> RelativeRecordData
fn clone(&self) -> RelativeRecordData
Returns a duplicate of the value. Read more
1.0.0 · 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 RelativeRecordData
impl Debug for RelativeRecordData
Source§impl Default for RelativeRecordData
impl Default for RelativeRecordData
Source§fn default() -> RelativeRecordData
fn default() -> RelativeRecordData
Returns the “default value” for a type. Read more
Source§impl PartialEq for RelativeRecordData
impl PartialEq for RelativeRecordData
impl StructuralPartialEq for RelativeRecordData
Auto Trait Implementations§
impl Freeze for RelativeRecordData
impl RefUnwindSafe for RelativeRecordData
impl Send for RelativeRecordData
impl Sync for RelativeRecordData
impl Unpin for RelativeRecordData
impl UnwindSafe for RelativeRecordData
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