pub struct RawDataScalar {
pub header: ScalarFileHeader,
pub values: Vec<RawScalar>,
}Expand description
Represents a collection of raw scalar data along with its header.
The RawDataScalar struct combines metadata about the data (via ScalarFileHeader)
with a vector of RawScalar instances, representing the actual scalar values.
Fields§
§header: ScalarFileHeaderThe header containing metadata about the scalar data.
values: Vec<RawScalar>A vector of RawScalar values, representing the actual scalar data.
Implementations§
Trait Implementations§
Source§impl Clone for RawDataScalar
impl Clone for RawDataScalar
Source§fn clone(&self) -> RawDataScalar
fn clone(&self) -> RawDataScalar
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<'de> Deserialize<'de> for RawDataScalar
impl<'de> Deserialize<'de> for RawDataScalar
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&[f64]> for RawDataScalar
impl From<&[f64]> for RawDataScalar
Source§fn from(value: &[ScalarValueType]) -> Self
fn from(value: &[ScalarValueType]) -> Self
Converts to this type from the input type.
Source§impl From<Vec<f64>> for RawDataScalar
impl From<Vec<f64>> for RawDataScalar
Source§fn from(value: Vec<ScalarValueType>) -> Self
fn from(value: Vec<ScalarValueType>) -> Self
Converts to this type from the input type.
Source§impl RawData for RawDataScalar
impl RawData for RawDataScalar
Auto Trait Implementations§
impl Freeze for RawDataScalar
impl RefUnwindSafe for RawDataScalar
impl Send for RawDataScalar
impl Sync for RawDataScalar
impl Unpin for RawDataScalar
impl UnsafeUnpin for RawDataScalar
impl UnwindSafe for RawDataScalar
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.