Skip to main content

Vectorable

Trait Vectorable 

Source
pub trait Vectorable {
    type T;

    // Required method
    fn to_vec(&self) -> Vec<Self::T>;
}

Required Associated Types§

Source

type T

Required Methods§

Source

fn to_vec(&self) -> Vec<Self::T>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§