pub enum MapValue {
Double(f64),
Int(i32),
Pair([f64; 2]),
Raw(u32, Vec<u8>),
}Expand description
Value of a MapEntry, by type code.
Variants§
Double(f64)
Type 0.
Int(i32)
Type 2.
Pair([f64; 2])
Type 3.
Raw(u32, Vec<u8>)
Another type: its code and raw bytes.
Trait Implementations§
impl StructuralPartialEq for MapValue
Auto Trait Implementations§
impl Freeze for MapValue
impl RefUnwindSafe for MapValue
impl Send for MapValue
impl Sync for MapValue
impl Unpin for MapValue
impl UnsafeUnpin for MapValue
impl UnwindSafe for MapValue
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