pub struct Float;Trait Implementations§
Source§impl Value for Float
impl Value for Float
const NAME: &'static str = "harmos_domain::model::storage::codec::Float"
const KIND: Kind<Definition> = Kind::F64
type Native = f64
fn postcard_write(value: &<Float as Value>::Native, bytes: &mut Vec<u8>)
fn postcard_size(value: &<Float as Value>::Native) -> usize
fn postcard_memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn postcard_read( input: &mut Reader<'_>, ) -> Result<<Float as Value>::Native, MessageError>
const CARDINALITY: Cardinality = Cardinality::Required
Auto Trait Implementations§
impl Freeze for Float
impl RefUnwindSafe for Float
impl Send for Float
impl Sync for Float
impl Unpin for Float
impl UnsafeUnpin for Float
impl UnwindSafe for Float
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