Struct otdrs::types::DataPointsAtScaleFactor
source · [−]pub struct DataPointsAtScaleFactor {
pub n_points: i32,
pub scale_factor: i16,
pub data: Vec<u16>,
}
Expand description
DataPointsAtScaleFactor is the struct that actually contains the data points of the measurements for a given scale factor
Fields
n_points: i32
Number of points in this block
scale_factor: i16
Scale factor for the data, as 1000*SF
data: Vec<u16>
Data points as dB*1000
Trait Implementations
sourceimpl Clone for DataPointsAtScaleFactor
impl Clone for DataPointsAtScaleFactor
sourcefn clone(&self) -> DataPointsAtScaleFactor
fn clone(&self) -> DataPointsAtScaleFactor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataPointsAtScaleFactor
impl Debug for DataPointsAtScaleFactor
sourceimpl PartialEq<DataPointsAtScaleFactor> for DataPointsAtScaleFactor
impl PartialEq<DataPointsAtScaleFactor> for DataPointsAtScaleFactor
sourcefn eq(&self, other: &DataPointsAtScaleFactor) -> bool
fn eq(&self, other: &DataPointsAtScaleFactor) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DataPointsAtScaleFactor) -> bool
fn ne(&self, other: &DataPointsAtScaleFactor) -> bool
This method tests for !=
.
sourceimpl Serialize for DataPointsAtScaleFactor
impl Serialize for DataPointsAtScaleFactor
impl StructuralPartialEq for DataPointsAtScaleFactor
Auto Trait Implementations
impl RefUnwindSafe for DataPointsAtScaleFactor
impl Send for DataPointsAtScaleFactor
impl Sync for DataPointsAtScaleFactor
impl Unpin for DataPointsAtScaleFactor
impl UnwindSafe for DataPointsAtScaleFactor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more