pub(crate) trait TableSerialize<const N: usize>: Sized {
// Required methods
fn get_headers() -> [&'static str; N];
fn get_values(&self) -> Vec<[String; N]>;
}
Required Methods§
fn get_headers() -> [&'static str; N]
fn get_values(&self) -> Vec<[String; N]>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.