Searched refs:from_primitive (Results 1 – 1 of 1) sorted by relevance
129 fn from_primitive(v: Self::Primitive) -> Self; in from_primitive() method140 fn from_primitive(v: Self::Primitive) -> Self {156 fn from_primitive(v: Self::Primitive) -> Self {266 Ok(T::from_primitive( in deserialize_primitive()304 <$vtype>::from_primitive(p.try_into()?)484 $enum_name::$vname$((<$vtype>::from_primitive(data