Lines Matching refs:impl_from
105 macro_rules! impl_from { macro
115 impl_from!(Value::Bool, bool);
116 impl_from!(Value::Integer, i8);
117 impl_from!(Value::Integer, i16);
118 impl_from!(Value::Integer, i32);
119 impl_from!(Value::Integer, i64);
121 impl_from!(Value::Integer, u8);
122 impl_from!(Value::Integer, u16);
123 impl_from!(Value::Integer, u32);
124 impl_from!(Value::Integer, u64);
126 impl_from!(Value::Float, f32);
127 impl_from!(Value::Float, f64);
128 impl_from!(Value::Bytes, Vec<u8>);
129 impl_from!(Value::Text, String);
131 impl_from!(Value::Array, Vec<Value>);
132 impl_from!(Value::Map, BTreeMap<Value, Value>);