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§
Sourcefn drop_front(self) -> [T; { _ }]
fn drop_front(self) -> [T; { _ }]
Removes the first element.