Enum aflak_primitives::IOValue [−][src]
pub enum IOValue { Integer(i64), Float(f32), Float2([f32; 2]), Float3([f32; 3]), Str(String), Path(PathBuf), Fits(Arc<Fits>), Image1d(Array1<f32>), Image2d(Array2<f32>), Image3d(Array3<f32>), Map2dTo3dCoords(Array2<[f32; 3]>), Roi(ROI), }
Variants
Integer(i64)
Float(f32)
Float2([f32; 2])
Float3([f32; 3])
Str(String)
Path(PathBuf)
Fits(Arc<Fits>)
Image1d(Array1<f32>)
Image2d(Array2<f32>)
Image3d(Array3<f32>)
Map2dTo3dCoords(Array2<[f32; 3]>)
Roi(ROI)
Methods
impl IOValue
[src]
impl IOValue
Trait Implementations
impl Clone for IOValue
[src]
impl Clone for IOValue
fn clone(&self) -> IOValue
[src]
fn clone(&self) -> IOValue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for IOValue
[src]
impl Debug for IOValue
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl VariantName for IOValue
[src]
impl VariantName for IOValue
fn variant_name(&self) -> &'static str
[src]
fn variant_name(&self) -> &'static str
Get identifier of variant
fn variant_names() -> &'static [&'static str]
[src]
fn variant_names() -> &'static [&'static str]
Get each identifier of all possible variants
impl PartialEq for IOValue
[src]
impl PartialEq for IOValue
fn eq(&self, val: &Self) -> bool
[src]
fn eq(&self, val: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl NamedAlgorithms<IOErr> for IOValue
[src]
impl NamedAlgorithms<IOErr> for IOValue
fn get_transform(s: &str) -> Option<&'static Transformation<IOValue, IOErr>>
[src]
fn get_transform(s: &str) -> Option<&'static Transformation<IOValue, IOErr>>
Get a transform by name.
impl DefaultFor for IOValue
[src]
impl DefaultFor for IOValue
fn default_for(variant_name: &str) -> Self
[src]
fn default_for(variant_name: &str) -> Self
impl EditableVariants for IOValue
[src]
impl EditableVariants for IOValue