pub trait Border {
// Required methods
fn border_at(
&self,
width: usize,
height: usize,
) -> impl Fn(usize, usize) -> CharacterPixel;
fn width_top(&self) -> usize;
fn width_left(&self) -> usize;
fn width_bottom(&self) -> usize;
fn width_right(&self) -> usize;
}Required Methods§
fn border_at( &self, width: usize, height: usize, ) -> impl Fn(usize, usize) -> CharacterPixel
fn width_top(&self) -> usize
fn width_left(&self) -> usize
fn width_bottom(&self) -> usize
fn width_right(&self) -> usize
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.