pub fn de_radix<'de, D, T>(d: D) -> Result<T, D::Error>
where
    D: Deserializer<'de>,
    Radix<T>: de::Visitor<'de, Value = T>,
{
    d.deserialize_any(Radix::<T>(PhantomData))
}
/// Deserializes an integer from either a string (which supports hex encoding)
/// or a normal integer.
///
/// Unfortunately, the way this is implemented breaks non-self-describing
/// formats, but Serde support isn't really intended for that anways.
Deserializes an integer from either a string (which supports hex encoding)
or a normal integer.

Unfortunately, the way this is implemented breaks non-self-describing
formats, but Serde support isn't really intended for that anways.
Deserializes an integer from either a string ( which supports hex encoding ) or a normal integer . Unfortunately the way this is implemented breaks non - self - describing formats but Serde support isn ' t really intended for that anways .
pub fn de_radix<'de, D, T>(d: D) -> Result<T, D::Error>
where
    D: Deserializer<'de>,
    Radix<T>: de::Visitor<'de, Value = T>,
{
    d.deserialize_any(Radix::<T>(PhantomData))
}
pub fn de_radix < ' de , D , T > ( d : D ) -> Result < T , D :: Error > where D : Deserializer < ' de > , Radix < T > : de :: Visitor < ' de , Value = T > , { d . deserialize_any ( Radix :: < T > ( PhantomData ) ) }
Deserializes an integer from either a string (which supports hex encoding)
or a normal integer.
Deserializes an integer from either a string ( which supports hex encoding ) or a normal integer .
d
D
d
D