Skip to main content

GroupRender

Trait GroupRender 

Source
pub trait GroupRender {
    // Required method
    fn render<C: Colours, U: Users + Groups>(
        self,
        colours: &C,
        users: &U,
        user_format: UserFormat,
        group_format: GroupFormat,
        file_user: Option<User>,
    ) -> TextCell;
}

Required Methods§

Source

fn render<C: Colours, U: Users + Groups>( self, colours: &C, users: &U, user_format: UserFormat, group_format: GroupFormat, file_user: Option<User>, ) -> TextCell

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 Render for Option<Group>

Source§

fn render<C: Colours, U: Users + Groups>( self, colours: &C, users: &U, user_format: UserFormat, group_format: GroupFormat, file_user: Option<User>, ) -> TextCell

Implementors§