Trait DropFront

Source
pub trait DropFront<T, const N: usize> {
    // Required method
    fn drop_front(self) -> [T; { _ }];
}
Expand description

Remove the first element of a array. The opposite of Trunc.

Required Methods§

Source

fn drop_front(self) -> [T; { _ }]

Removes the first element.

Implementations on Foreign Types§

Source§

impl<const N: usize, T> DropFront<T, N> for [T; N]

Implementors§