Enum fits_rs::types::Value
[−]
[src]
pub enum Value<'a> { CharacterString(&'a str), Logical(bool), Integer(i64), Real(f64), Complex((f64, f64)), Undefined, }
The possible values of a KeywordRecord.
Variants
CharacterString(&'a str)
A string enclosed in single quotes '
.
Logical(bool)
A logical constant signified by either an uppercase F
or an uppercase T
.
Integer(i64)
An optionally signed decimal integer.
Real(f64)
Fixed format real floating point number.
Complex((f64, f64))
Complex number represented by a real and imaginary component.
Undefined
When a value is not present
Trait Implementations
impl<'a> Debug for Value<'a>
[src]
impl<'a> PartialEq for Value<'a>
[src]
fn eq(&self, __arg_0: &Value<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Value<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for Value<'a>
[src]
fn clone(&self) -> Value<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more