TwoSidedExtend

Trait TwoSidedExtend 

Source
pub trait TwoSidedExtend<T> {
    // Required methods
    fn extend_back<I: IntoIterator<Item = T>>(&mut self, iter: I);
    fn extend_front<I: IntoIterator<Item = T>>(&mut self, iter: I);
}
Expand description

The two-sided counterpart to Extend, which supports extending both the front and back of the

Required Methods§

Source

fn extend_back<I: IntoIterator<Item = T>>(&mut self, iter: I)

Source

fn extend_front<I: IntoIterator<Item = T>>(&mut self, iter: I)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§