Trait css::selectors::sink::Push [] [src]

pub trait Push<T> {
    fn push(&mut self, value: T);
}

A trait to abstract over a push method that may be implemented for different kind of types.

Used to abstract over Array, SmallVec and Vec, and also to implement a type which push method does only tweak a byte when we only need to check for the presence of something.

Required Methods

Push a value into self.

Implementations on Foreign Types

impl<T> Push<T> for Vec<T>
[src]

[src]

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

[src]

Implementors