Enum json_with_comments::value::ser::number::FloatConverter
source · pub enum FloatConverter {}
Trait Implementations§
source§impl<I, F> Converter<I, F> for FloatConverterwhere
I: FromPrimitive,
F: FromPrimitive,
impl<I, F> Converter<I, F> for FloatConverterwhere
I: FromPrimitive,
F: FromPrimitive,
type Err = JsonWithCommentsError
fn convert<N: Converting<I, F>>(n: N) -> Result<Number<I, F>, Self::Err>
Auto Trait Implementations§
impl RefUnwindSafe for FloatConverter
impl Send for FloatConverter
impl Sync for FloatConverter
impl Unpin for FloatConverter
impl UnwindSafe for FloatConverter
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