Skip to main content

PrecisionSettings

Trait PrecisionSettings 

Source
pub trait PrecisionSettings:
    Send
    + Sync
    + Debug
    + Default
    + Clone {
    type FloatElem: Element + Serialize + DeserializeOwned;
    type IntElem: Element + Serialize + DeserializeOwned;
}
Expand description

Settings allowing to control the precision when (de)serializing items.

Required Associated Types§

Source

type FloatElem: Element + Serialize + DeserializeOwned

Float element type.

Source

type IntElem: Element + Serialize + DeserializeOwned

Integer element type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§