Trait columnar::common::Push

source ·
pub trait Push<T> {
    // Required method
    fn push(&mut self, item: T);

    // Provided method
    fn extend(&mut self, iter: impl IntoIterator<Item = T>) { ... }
}
Expand description

A type that can accept items of type T.

Required Methods§

source

fn push(&mut self, item: T)

Pushes an item onto self.

Provided Methods§

source

fn extend(&mut self, iter: impl IntoIterator<Item = T>)

Pushes elements of an iterator onto self.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, AA, A: Push<&'a AA>> Push<&'a (AA,)> for (A,)

source§

fn push(&mut self, item: &'a (AA,))

source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>> Push<&'a (AA, BB)> for (A, B)

source§

fn push(&mut self, item: &'a (AA, BB))

source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>> Push<&'a (AA, BB, CC)> for (A, B, C)

source§

fn push(&mut self, item: &'a (AA, BB, CC))

source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>> Push<&'a (AA, BB, CC, DD)> for (A, B, C, D)

source§

fn push(&mut self, item: &'a (AA, BB, CC, DD))

source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>> Push<&'a (AA, BB, CC, DD, EE)> for (A, B, C, D, E)

source§

fn push(&mut self, item: &'a (AA, BB, CC, DD, EE))

source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>, FF, F: Push<&'a FF>> Push<&'a (AA, BB, CC, DD, EE, FF)> for (A, B, C, D, E, F)

source§

fn push(&mut self, item: &'a (AA, BB, CC, DD, EE, FF))

source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>, FF, F: Push<&'a FF>, GG, G: Push<&'a GG>> Push<&'a (AA, BB, CC, DD, EE, FF, GG)> for (A, B, C, D, E, F, G)

source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>, FF, F: Push<&'a FF>, GG, G: Push<&'a GG>, HH, H: Push<&'a HH>> Push<&'a (AA, BB, CC, DD, EE, FF, GG, HH)> for (A, B, C, D, E, F, G, H)

source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>, FF, F: Push<&'a FF>, GG, G: Push<&'a GG>, HH, H: Push<&'a HH>, II, I: Push<&'a II>> Push<&'a (AA, BB, CC, DD, EE, FF, GG, HH, II)> for (A, B, C, D, E, F, G, H, I)

source§

impl<'a, AA, A: Push<&'a AA>, BB, B: Push<&'a BB>, CC, C: Push<&'a CC>, DD, D: Push<&'a DD>, EE, E: Push<&'a EE>, FF, F: Push<&'a FF>, GG, G: Push<&'a GG>, HH, H: Push<&'a HH>, II, I: Push<&'a II>, JJ, J: Push<&'a JJ>> Push<&'a (AA, BB, CC, DD, EE, FF, GG, HH, II, JJ)> for (A, B, C, D, E, F, G, H, I, J)

source§

impl<'a, T: Clone> Push<&'a [T]> for Vec<T>

source§

fn push(&mut self, item: &'a [T])

source§

impl<'a, T: Clone> Push<&'a T> for Vec<T>

source§

fn push(&mut self, item: &'a T)

source§

fn extend(&mut self, iter: impl IntoIterator<Item = &'a T>)

source§

impl<AA, A: Push<AA>> Push<(AA,)> for (A,)

source§

fn push(&mut self, item: (AA,))

source§

impl<AA, A: Push<AA>, BB, B: Push<BB>> Push<(AA, BB)> for (A, B)

source§

fn push(&mut self, item: (AA, BB))

source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>> Push<(AA, BB, CC)> for (A, B, C)

source§

fn push(&mut self, item: (AA, BB, CC))

source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>> Push<(AA, BB, CC, DD)> for (A, B, C, D)

source§

fn push(&mut self, item: (AA, BB, CC, DD))

source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>> Push<(AA, BB, CC, DD, EE)> for (A, B, C, D, E)

source§

fn push(&mut self, item: (AA, BB, CC, DD, EE))

source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>, FF, F: Push<FF>> Push<(AA, BB, CC, DD, EE, FF)> for (A, B, C, D, E, F)

source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>, FF, F: Push<FF>, GG, G: Push<GG>> Push<(AA, BB, CC, DD, EE, FF, GG)> for (A, B, C, D, E, F, G)

source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>, FF, F: Push<FF>, GG, G: Push<GG>, HH, H: Push<HH>> Push<(AA, BB, CC, DD, EE, FF, GG, HH)> for (A, B, C, D, E, F, G, H)

source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>, FF, F: Push<FF>, GG, G: Push<GG>, HH, H: Push<HH>, II, I: Push<II>> Push<(AA, BB, CC, DD, EE, FF, GG, HH, II)> for (A, B, C, D, E, F, G, H, I)

source§

impl<AA, A: Push<AA>, BB, B: Push<BB>, CC, C: Push<CC>, DD, D: Push<DD>, EE, E: Push<EE>, FF, F: Push<FF>, GG, G: Push<GG>, HH, H: Push<HH>, II, I: Push<II>, JJ, J: Push<JJ>> Push<(AA, BB, CC, DD, EE, FF, GG, HH, II, JJ)> for (A, B, C, D, E, F, G, H, I, J)

source§

impl<T> Push<T> for Vec<T>

source§

fn push(&mut self, item: T)

source§

fn extend(&mut self, iter: impl IntoIterator<Item = T>)

Implementors§

source§

impl Push<&isize> for Isizes

source§

impl Push<&()> for Empties

source§

impl Push<&usize> for Usizes

source§

impl Push<Json> for Jsons

source§

impl Push<isize> for Isizes

source§

impl Push<()> for Empties

source§

impl Push<usize> for Usizes

source§

impl<'a> Push<&'a Json> for Jsons

source§

impl<'a, S, SC: Push<&'a S>, T, TC: Push<&'a T>> Push<&'a Result<S, T>> for Results<SC, TC>

source§

impl<'a, SC: Push<&'a u64>, NC: Push<&'a u32>> Push<(&'a u64, &'a u32)> for Durations<SC, NC>

source§

impl<'a, SC: Push<u64>, NC: Push<u32>> Push<&'a Duration> for Durations<SC, NC>

source§

impl<'a, T, TC: Push<&'a T> + Len> Push<&'a Option<T>> for Options<TC>

source§

impl<'a, T, TC: Push<&'a T> + Len> Push<&'a [T]> for Vecs<TC>

source§

impl<'a, T, TC: Push<&'a T> + Len> Push<&'a Vec<T>> for Vecs<TC>

source§

impl<'a, VC: Push<u64>> Push<&'a bool> for Bools<VC>

source§

impl<BC: Push<u64>> Push<&str> for Strings<BC>

source§

impl<BC: Push<u64>> Push<&String> for Strings<BC>

source§

impl<S, SC: Push<S>, T, TC: Push<T>> Push<Result<S, T>> for Results<SC, TC>

source§

impl<SC: Push<u64>, NC: Push<u32>> Push<Duration> for Durations<SC, NC>

source§

impl<T, TC: Push<T> + Len> Push<Option<T>> for Options<TC>

source§

impl<T: PartialEq, TC: Push<T> + Len, VC: Push<u8>, const N: u8> Push<T> for Lookbacks<TC, VC, N>
where for<'a> &'a TC: Index, for<'a> <&'a TC as Index>::Ref: PartialEq<T>,

source§

impl<T: PartialEq, TC: Push<T> + Len, const N: u8> Push<T> for Repeats<TC, N>
where for<'a> &'a TC: Index, for<'a> <&'a TC as Index>::Ref: PartialEq<T>,

source§

impl<TC: Push<TC2::Ref> + Len, TC2: Index> Push<Slice<TC2>> for Vecs<TC>

source§

impl<VC: Push<u64>> Push<bool> for Bools<VC>