Skip to main content

Arrayable

Trait Arrayable 

Source
pub trait Arrayable {
    type T;

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

Required Associated Types§

Source

type T

Required Methods§

Source

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§