pub enum CborFloat {
F16(u16),
F32(u32),
F64(u64),
}Expand description
A CBOR floating-point payload.
Width and raw IEEE 754 bits are retained. A future deterministic floating-point layer can define and verify shortest-width equivalence without changing the wire-facing value type.
Variants§
Implementations§
Source§impl CborFloat
impl CborFloat
pub fn arrow_0(self) -> u64
pub fn arrow_F16_0(self) -> u16
pub fn arrow_F32_0(self) -> u32
pub fn arrow_F64_0(self) -> u64
Trait Implementations§
impl Copy for CborFloat
impl Eq for CborFloat
impl Structural for CborFloat
impl StructuralPartialEq for CborFloat
Auto Trait Implementations§
impl Freeze for CborFloat
impl RefUnwindSafe for CborFloat
impl Send for CborFloat
impl Sync for CborFloat
impl Unpin for CborFloat
impl UnsafeUnpin for CborFloat
impl UnwindSafe for CborFloat
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