Trait FlatVectorElem

Source
pub trait FlatVectorElem {
    const FLATTENED_SIZE: usize;

    // Required methods
    fn flatten(self) -> Vec<u8> ;
    fn unflatten(flat: Vec<u8>) -> Self;
}

Required Associated Constants§

Required Methods§

Source

fn flatten(self) -> Vec<u8>

Source

fn unflatten(flat: Vec<u8>) -> Self

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.

Implementors§