pub enum Value<'a> {
Integer(i32),
Float(f32),
Flag,
Character(char),
String(&'a str),
Array(Array<'a>),
}
Expand description
A variant record info field value.
Variants§
Integer(i32)
A 32-bit integer.
Float(f32)
A single-precision floating-point.
Flag
A boolean.
Character(char)
A character.
String(&'a str)
A string.
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