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§