Trait hlua::PushOne [] [src]

pub trait PushOne<L>: Push<L> { }

Extension trait for Push. Guarantees that only one element will be pushed.

This should be implemented on most types that implement Push, except for tuples.

Note: Implementing this trait on a type that pushes multiple elements will most likely result in panics.

Implementors