pub trait Encodable {
fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), Error>;
}
Required Methods
Implementors
impl Encodable for usize
impl Encodable for u8
impl Encodable for u16
impl Encodable for u32
impl Encodable for u64
impl Encodable for isize
impl Encodable for i8
impl Encodable for i16
impl Encodable for i32
impl Encodable for i64
impl Encodable for str
impl Encodable for String
impl Encodable for f32
impl Encodable for f64
impl Encodable for bool
impl Encodable for char
impl Encodable for ()
impl<'a, T: ?Sized + Encodable> Encodable for &'a T
impl<T: ?Sized + Encodable> Encodable for Box<T>
impl<T: Encodable> Encodable for Rc<T>
impl<T: Encodable> Encodable for [T]
impl<T: Encodable> Encodable for Vec<T>
impl<T: Encodable> Encodable for Option<T>
impl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T4, T5, T6, T7, T8, T9, T10, T11)
impl<T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T5, T6, T7, T8, T9, T10, T11)
impl<T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T6, T7, T8, T9, T10, T11)
impl<T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T7, T8, T9, T10, T11)
impl<T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T8, T9, T10, T11)
impl<T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T9, T10, T11)
impl<T10: Encodable, T11: Encodable> Encodable for (T10, T11)
impl<T11: Encodable> Encodable for (T11,)
impl Encodable for Path
impl Encodable for Path
impl<T: Encodable + Copy> Encodable for Cell<T>
impl<T: Encodable> Encodable for RefCell<T>
impl<T: Encodable> Encodable for Arc<T>
impl<T: Encodable> Encodable for DList<T>
impl<T: Encodable> Encodable for RingBuf<T>
impl<K: Encodable + PartialEq + Ord, V: Encodable + PartialEq> Encodable for BTreeMap<K, V>
impl<T: Encodable + PartialEq + Ord> Encodable for BTreeSet<T>
impl<K, V, S> Encodable for HashMap<K, V, S> where K: Encodable + Hash<<S as HashState>::Hasher> + Eq, V: Encodable, S: HashState, <S as HashState>::Hasher: Hasher<Output=u64>
impl<T, S> Encodable for HashSet<T, S> where T: Encodable + Hash<<S as HashState>::Hasher> + Eq, S: HashState, <S as HashState>::Hasher: Hasher<Output=u64>
impl<V: Encodable> Encodable for VecMap<V>
impl Encodable for Json
impl Encodable for usize
impl Encodable for u8
impl Encodable for u16
impl Encodable for u32
impl Encodable for u64
impl Encodable for isize
impl Encodable for i8
impl Encodable for i16
impl Encodable for i32
impl Encodable for i64
impl Encodable for str
impl Encodable for String
impl Encodable for f32
impl Encodable for f64
impl Encodable for bool
impl Encodable for char
impl Encodable for ()
impl<'a, T: ?Sized + Encodable> Encodable for &'a T
impl<T: ?Sized + Encodable> Encodable for Box<T>
impl<T: Encodable> Encodable for Rc<T>
impl<T: Encodable> Encodable for [T]
impl<T: Encodable> Encodable for Vec<T>
impl<T: Encodable> Encodable for Option<T>
impl<T0: Encodable, T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T1: Encodable, T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T2: Encodable, T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T3: Encodable, T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T3, T4, T5, T6, T7, T8, T9, T10, T11)
impl<T4: Encodable, T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T4, T5, T6, T7, T8, T9, T10, T11)
impl<T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T5, T6, T7, T8, T9, T10, T11)
impl<T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T6, T7, T8, T9, T10, T11)
impl<T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T7, T8, T9, T10, T11)
impl<T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T8, T9, T10, T11)
impl<T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T9, T10, T11)
impl<T10: Encodable, T11: Encodable> Encodable for (T10, T11)
impl<T11: Encodable> Encodable for (T11,)
impl Encodable for Path
impl Encodable for Path
impl<T: Encodable + Copy> Encodable for Cell<T>
impl<T: Encodable> Encodable for RefCell<T>
impl<T: Encodable> Encodable for Arc<T>
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).