Skip to main content

HeaderTrait

Trait HeaderTrait 

Source
pub trait HeaderTrait<'a> {
    // Required method
    fn archived_headers(
        self,
        data: &TableState,
        headers: impl IntoIterator<Item = &'a str>,
        height: f32,
        org_colors: &[[u8; 3]],
        user_colors: &[[u8; 3]],
    ) -> Result<(Vec<ColResponse>, Table<'a>), TableError>;
}

Required Methods§

Source

fn archived_headers( self, data: &TableState, headers: impl IntoIterator<Item = &'a str>, height: f32, org_colors: &[[u8; 3]], user_colors: &[[u8; 3]], ) -> Result<(Vec<ColResponse>, Table<'a>), TableError>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<'a> HeaderTrait<'a> for TableBuilder<'a>

Source§

fn archived_headers( self, data: &TableState, headers: impl IntoIterator<Item = &'a str>, height: f32, org_colors: &[[u8; 3]], user_colors: &[[u8; 3]], ) -> Result<(Vec<ColResponse>, Table<'a>), TableError>

Implementors§