Trait burn::record::PrecisionSettings

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§

type FloatElem: Element + Serialize + DeserializeOwned

Float element type.

type IntElem: Element + Serialize + DeserializeOwned

Integer element type.

Object Safety§

This trait is not object safe.

Implementors§