Lines Matching refs:Primitive
124 type Primitive; typedef
126 fn from_primitive(v: Self::Primitive) -> Self; in from_primitive()
127 fn to_primitive(&self) -> Self::Primitive; in to_primitive() argument
135 type Primitive = i32;
137 fn from_primitive(v: Self::Primitive) -> Self {
140 fn to_primitive(&self) -> Self::Primitive {
151 type Primitive = $t;
153 fn from_primitive(v: Self::Primitive) -> Self {
156 fn to_primitive(&self) -> Self::Primitive {
180 pub enum Primitive { enum
189 impl From<i64> for Primitive { implementation
194 impl From<i32> for Primitive { implementation
199 impl From<Vec<u8>> for Primitive { implementation
216 impl TryInto<i64> for Primitive { implementation
226 impl TryInto<i32> for Primitive { implementation
236 impl TryInto<Vec<u8>> for Primitive { implementation
273 pub fn new_from_tag_primitive_pair<T: Into<Primitive>>(
277 let p: Primitive = v.into();