no_vec

Trait Melt

Source
pub trait Melt<T> {
    // Required method
    fn melt(self) -> Vec<T>;
}
Expand description

Helps to covert [T] into Vec<T>.

Required Methods§

Source

fn melt(self) -> Vec<T>

Converts from an array to a vector:

let vec: Vec<u16> = [123u16, 456].melt();

Implementations on Foreign Types§

Source§

impl<T> Melt<T> for [T; 1]

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Source§

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

Source§

fn melt(self) -> Vec<T>

Implementors§