PunctuatedExt

Trait PunctuatedExt 

Source
pub trait PunctuatedExt<T, P> {
    // Required method
    fn remove(&mut self, index: usize) -> Pair<T, P>
       where P: Default;
}
Expand description

Required Methods§

Source

fn remove(&mut self, index: usize) -> Pair<T, P>
where P: Default,

Removes and returns the element at position index, popping all elements after it and push them back.

Implementations on Foreign Types§

Source§

impl<T, P> PunctuatedExt<T, P> for Punctuated<T, P>

Source§

fn remove(&mut self, index: usize) -> Pair<T, P>
where P: Default,

Implementors§