pub trait Tuple<W> {
    // Required method
    fn serialize(&self, w: WriteContext<W>) -> GenResult<W>;
}
Expand description

Helper trait for the tuple combinator

Required Methods§

source

fn serialize(&self, w: WriteContext<W>) -> GenResult<W>

Implementations on Foreign Types§

source§

impl<W: Write, A: SerializeFn<W>> Tuple<W> for (A,)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>> Tuple<W> for (FnA, FnB)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>, FnL: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>, FnL: SerializeFn<W>, FnM: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>, FnL: SerializeFn<W>, FnM: SerializeFn<W>, FnN: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>, FnL: SerializeFn<W>, FnM: SerializeFn<W>, FnN: SerializeFn<W>, FnO: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>, FnL: SerializeFn<W>, FnM: SerializeFn<W>, FnN: SerializeFn<W>, FnO: SerializeFn<W>, FnP: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>, FnL: SerializeFn<W>, FnM: SerializeFn<W>, FnN: SerializeFn<W>, FnO: SerializeFn<W>, FnP: SerializeFn<W>, FnQ: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP, FnQ)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>, FnL: SerializeFn<W>, FnM: SerializeFn<W>, FnN: SerializeFn<W>, FnO: SerializeFn<W>, FnP: SerializeFn<W>, FnQ: SerializeFn<W>, FnR: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP, FnQ, FnR)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>, FnL: SerializeFn<W>, FnM: SerializeFn<W>, FnN: SerializeFn<W>, FnO: SerializeFn<W>, FnP: SerializeFn<W>, FnQ: SerializeFn<W>, FnR: SerializeFn<W>, FnS: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP, FnQ, FnR, FnS)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>, FnL: SerializeFn<W>, FnM: SerializeFn<W>, FnN: SerializeFn<W>, FnO: SerializeFn<W>, FnP: SerializeFn<W>, FnQ: SerializeFn<W>, FnR: SerializeFn<W>, FnS: SerializeFn<W>, FnT: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP, FnQ, FnR, FnS, FnT)

source§

impl<W: Write, FnA: SerializeFn<W>, FnB: SerializeFn<W>, FnC: SerializeFn<W>, FnD: SerializeFn<W>, FnE: SerializeFn<W>, FnF: SerializeFn<W>, FnG: SerializeFn<W>, FnH: SerializeFn<W>, FnI: SerializeFn<W>, FnJ: SerializeFn<W>, FnK: SerializeFn<W>, FnL: SerializeFn<W>, FnM: SerializeFn<W>, FnN: SerializeFn<W>, FnO: SerializeFn<W>, FnP: SerializeFn<W>, FnQ: SerializeFn<W>, FnR: SerializeFn<W>, FnS: SerializeFn<W>, FnT: SerializeFn<W>, FnU: SerializeFn<W>> Tuple<W> for (FnA, FnB, FnC, FnD, FnE, FnF, FnG, FnH, FnI, FnJ, FnK, FnL, FnM, FnN, FnO, FnP, FnQ, FnR, FnS, FnT, FnU)

Implementors§