Trait intovec::IntoVec [] [src]

pub trait IntoVec<T> {
    fn into_vec(self) -> Vec<T>;
}

Anything convertible into a Vec with or without copies, but avoiding them if possible.

Required Methods

Convert Self into a Vec

Implementations on Foreign Types

impl<T> IntoVec<T> for Vec<T>
[src]

[src]

impl<'a, T: Clone> IntoVec<T> for &'a [T]
[src]

[src]

impl<T> IntoVec<T> for Box<[T]>
[src]

[src]

impl IntoVec<u8> for String
[src]

[src]

impl<'a> IntoVec<u8> for &'a str
[src]

[src]

Implementors