Trait burn_core::record::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§
sourcetype FloatElem: Element + Serialize + DeserializeOwned
type FloatElem: Element + Serialize + DeserializeOwned
Float element type.
sourcetype IntElem: Element + Serialize + DeserializeOwned
type IntElem: Element + Serialize + DeserializeOwned
Integer element type.
Object Safety§
This trait is not object safe.