pub struct f8(/* private fields */);Expand description
An 8-bit floating point number constrained to a value within the inclusive range of [0, 1].
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for f8
impl<'de> Deserialize<'de> for f8
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for f8
impl Ord for f8
Source§impl PartialOrd for f8
impl PartialOrd for f8
impl Copy for f8
impl Eq for f8
impl StructuralPartialEq for f8
Auto Trait Implementations§
impl Freeze for f8
impl RefUnwindSafe for f8
impl Send for f8
impl Sync for f8
impl Unpin for f8
impl UnwindSafe for f8
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