pub trait Frame {
// Required methods
fn set_cell_absolute(
&mut self,
absolute_coord: Coord,
absolute_depth: i8,
absolute_cell: ViewCell,
);
fn blend_cell_background_absolute<B>(
&mut self,
absolute_coord: Coord,
absolute_depth: i8,
rgb24: Rgb24,
alpha: u8,
blend: B,
)
where B: Blend;
// Provided methods
fn set_cell_relative<C>(
&mut self,
relative_coord: Coord,
relative_depth: i8,
relative_cell: ViewCell,
context: ViewContext<C>,
)
where C: ColModify { ... }
fn blend_cell_background_relative<C, B>(
&mut self,
relative_coord: Coord,
relative_depth: i8,
rgb24: Rgb24,
alpha: u8,
blend: B,
context: ViewContext<C>,
)
where C: ColModify,
B: Blend { ... }
}
Required Methods§
fn set_cell_absolute( &mut self, absolute_coord: Coord, absolute_depth: i8, absolute_cell: ViewCell, )
fn blend_cell_background_absolute<B>(
&mut self,
absolute_coord: Coord,
absolute_depth: i8,
rgb24: Rgb24,
alpha: u8,
blend: B,
)where
B: Blend,
Provided Methods§
fn set_cell_relative<C>(
&mut self,
relative_coord: Coord,
relative_depth: i8,
relative_cell: ViewCell,
context: ViewContext<C>,
)where
C: ColModify,
fn blend_cell_background_relative<C, B>( &mut self, relative_coord: Coord, relative_depth: i8, rgb24: Rgb24, alpha: u8, blend: B, context: ViewContext<C>, )
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.