[][src]Trait serialize::serialize::Encodable

pub trait Encodable {
    fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>;
}
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Required methods

fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Loading content...

Implementations on Foreign Types

impl Encodable for usize[src]

impl Encodable for u8[src]

impl Encodable for u16[src]

impl Encodable for u32[src]

impl Encodable for NonZeroU32[src]

impl Encodable for u64[src]

impl Encodable for u128[src]

impl Encodable for isize[src]

impl Encodable for i8[src]

impl Encodable for i16[src]

impl Encodable for i32[src]

impl Encodable for i64[src]

impl Encodable for i128[src]

impl Encodable for str[src]

impl Encodable for String[src]

impl Encodable for f32[src]

impl Encodable for f64[src]

impl Encodable for bool[src]

impl Encodable for char[src]

impl Encodable for ()[src]

impl<T> Encodable for PhantomData<T>[src]

impl<'a, T: ?Sized + Encodable> Encodable for &'a T[src]

impl<T: ?Sized + Encodable> Encodable for Box<T>[src]

impl<T: Encodable> Encodable for Rc<T>[src]

impl<T: Encodable> Encodable for [T][src]

impl<T: Encodable> Encodable for Vec<T>[src]

impl<'a, T: Encodable> Encodable for Cow<'a, [T]> where
    [T]: ToOwned<Owned = Vec<T>>, 
[src]

impl<T: Encodable> Encodable for Option<T>[src]

impl<T1: Encodable, T2: Encodable> Encodable for Result<T1, T2>[src]

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)[src]

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)[src]

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)[src]

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)[src]

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)[src]

impl<T5: Encodable, T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T5, T6, T7, T8, T9, T10, T11)[src]

impl<T6: Encodable, T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T6, T7, T8, T9, T10, T11)[src]

impl<T7: Encodable, T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T7, T8, T9, T10, T11)[src]

impl<T8: Encodable, T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T8, T9, T10, T11)[src]

impl<T9: Encodable, T10: Encodable, T11: Encodable> Encodable for (T9, T10, T11)[src]

impl<T10: Encodable, T11: Encodable> Encodable for (T10, T11)[src]

impl<T11: Encodable> Encodable for (T11,)[src]

impl Encodable for Path[src]

impl Encodable for PathBuf[src]

impl<T: Encodable + Copy> Encodable for Cell<T>[src]

impl<T: Encodable> Encodable for RefCell<T>[src]

impl<T: Encodable> Encodable for Arc<T>[src]

impl<A: Array<Item: Encodable>> Encodable for SmallVec<A>[src]

impl<T: Encodable> Encodable for LinkedList<T>[src]

impl<T: Encodable> Encodable for VecDeque<T>[src]

impl<K, V> Encodable for BTreeMap<K, V> where
    K: Encodable + PartialEq + Ord,
    V: Encodable
[src]

impl<T> Encodable for BTreeSet<T> where
    T: Encodable + PartialEq + Ord
[src]

impl<K, V, S> Encodable for HashMap<K, V, S> where
    K: Encodable + Eq,
    V: Encodable,
    S: BuildHasher
[src]

impl<T, S> Encodable for HashSet<T, S> where
    T: Encodable + Eq,
    S: BuildHasher
[src]

impl<K, V, S> Encodable for IndexMap<K, V, S> where
    K: Encodable + Hash + Eq,
    V: Encodable,
    S: BuildHasher
[src]

impl<T, S> Encodable for IndexSet<T, S> where
    T: Encodable + Hash + Eq,
    S: BuildHasher
[src]

impl<T: Encodable> Encodable for Rc<[T]>[src]

impl<T: Encodable> Encodable for Arc<[T]>[src]

Loading content...

Implementors

impl Encodable for Json[src]

impl<T: ?Sized + UseSpecializedEncodable> Encodable for T[src]

Loading content...