Enum c3dio::parameters::ParameterData
source · pub enum ParameterData {
Char(Vec<char>),
Byte(Vec<u8>),
Integer(Vec<i16>),
Float(Vec<f32>),
}
Expand description
All parameter data is stored as a vector of bytes, but the data type and dimensions of the data are also stored in the file. This struct stores the data type and dimensions, and provides methods to convert the data to a more useful format.
Variants§
Trait Implementations§
source§impl Clone for ParameterData
impl Clone for ParameterData
source§fn clone(&self) -> ParameterData
fn clone(&self) -> ParameterData
Returns a copy 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 ParameterData
impl Debug for ParameterData
source§impl PartialEq for ParameterData
impl PartialEq for ParameterData
source§fn eq(&self, other: &ParameterData) -> bool
fn eq(&self, other: &ParameterData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParameterData
Auto Trait Implementations§
impl Freeze for ParameterData
impl RefUnwindSafe for ParameterData
impl Send for ParameterData
impl Sync for ParameterData
impl Unpin for ParameterData
impl UnwindSafe for ParameterData
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