Trait RemoveImpl

Source
pub trait RemoveImpl<Input, Index> {
    type Output;

    // Required method
    fn impl_remove(input: Input, index: Index) -> Self::Output;
}
Expand description

Implements element removal from a vector.

Required Associated Types§

Required Methods§

Source

fn impl_remove(input: Input, index: Index) -> Self::Output

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.

Implementations on Foreign Types§

Source§

impl<S, Index, Item> RemoveImpl<Vect<Item, S>, Index> for ()
where S: Size, Index: Size, (): DecreaseOne<S> + CheckIndex<S, Index>,

Source§

type Output = (Vect<Item, <() as DecreaseOne<S>>::Output>, Item)

Source§

fn impl_remove(input: Vect<Item, S>, index: Index) -> Self::Output

Implementors§