no_vec

Trait Unstick

Source
pub trait Unstick<T> {
    type Target;

    // Required method
    fn unstick(self) -> (Self::Target, T);
}
Expand description

This trait helps to remove an item element from sized array.

Required Associated Types§

Required Methods§

Source

fn unstick(self) -> (Self::Target, T)

Removes an item from an array:

let (arr, item): ([u16; 1], u16) = [123u16, 456].unstick();

Implementations on Foreign Types§

Source§

impl<T> Unstick<T> for [T; 2]

Source§

type Target = [T; 1]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 3]

Source§

type Target = [T; 2]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 4]

Source§

type Target = [T; 3]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 5]

Source§

type Target = [T; 4]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 6]

Source§

type Target = [T; 5]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 7]

Source§

type Target = [T; 6]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 8]

Source§

type Target = [T; 7]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 9]

Source§

type Target = [T; 8]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 10]

Source§

type Target = [T; 9]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 11]

Source§

type Target = [T; 10]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 12]

Source§

type Target = [T; 11]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 13]

Source§

type Target = [T; 12]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 14]

Source§

type Target = [T; 13]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 15]

Source§

type Target = [T; 14]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 16]

Source§

type Target = [T; 15]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 17]

Source§

type Target = [T; 16]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 18]

Source§

type Target = [T; 17]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 19]

Source§

type Target = [T; 18]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 20]

Source§

type Target = [T; 19]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 21]

Source§

type Target = [T; 20]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 22]

Source§

type Target = [T; 21]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 23]

Source§

type Target = [T; 22]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 24]

Source§

type Target = [T; 23]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 25]

Source§

type Target = [T; 24]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 26]

Source§

type Target = [T; 25]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 27]

Source§

type Target = [T; 26]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 28]

Source§

type Target = [T; 27]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 29]

Source§

type Target = [T; 28]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 30]

Source§

type Target = [T; 29]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 31]

Source§

type Target = [T; 30]

Source§

fn unstick(self) -> (Self::Target, T)

Source§

impl<T> Unstick<T> for [T; 32]

Source§

type Target = [T; 31]

Source§

fn unstick(self) -> (Self::Target, T)

Implementors§