Trait FragmentDisplay

Source
pub trait FragmentDisplay {
    // Required method
    fn display(&self, width: usize) -> String;
}
Expand description

Trait to indicate the type can display as fragment.

Required Methods§

Source

fn display(&self, width: usize) -> String

Implementations on Foreign Types§

Source§

impl FragmentDisplay for &str

Source§

fn display(&self, width: usize) -> String

Source§

impl FragmentDisplay for &[u8]

Source§

fn display(&self, width: usize) -> String

Implementors§