Struct pbcodec::fields::MapField [] [src]

pub struct MapField<T: Tag, M: Map> {
    pub tag: T,
    pub map: M,
}

Fields

Trait Implementations

impl<T: Debug + Tag, M: Debug + Map> Debug for MapField<T, M>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Default + Tag, M: Default + Map> Default for MapField<T, M>
[src]

[src]

Returns the "default value" for a type. Read more

impl<T: Tag, M: Map> Field for MapField<T, M>
[src]

impl<R, T, M> DecodeField<R> for MapField<T, M> where
    R: Read,
    T: Tag,
    M: Map,
    M::Key: Decode<Take<R>>,
    M::Value: Decode<Take<R>>, 
[src]

[src]

[src]

impl<W, T, M> Encode<W> for MapField<T, M> where
    W: Write,
    T: Tag,
    M: Map,
    M::Key: Encode<W>,
    M::Value: Encode<W>, 
[src]

[src]

[src]

Auto Trait Implementations

impl<T, M> Send for MapField<T, M> where
    M: Send,
    T: Send

impl<T, M> Sync for MapField<T, M> where
    M: Sync,
    T: Sync