pub enum Value<'a> {
Integer(i32),
Float(f32),
Character(char),
String(&'a str),
Genotype(Box<dyn Genotype + 'a>),
Array(Array<'a>),
}
Expand description
A variant record samples value.
Variants§
Integer(i32)
A 32-bit integer.
Float(f32)
A single-precision floating-point.
Character(char)
A character.
String(&'a str)
A string.
Genotype(Box<dyn Genotype + 'a>)
A genotype.
Array(Array<'a>)
An array.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Value<'a>
impl<'a> !RefUnwindSafe for Value<'a>
impl<'a> !Send for Value<'a>
impl<'a> !Sync for Value<'a>
impl<'a> Unpin for Value<'a>
impl<'a> !UnwindSafe for Value<'a>
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