Struct prototty_common::RichStringView
[−]
[src]
pub struct RichStringView { pub info: TextInfo, }
Fields
info: TextInfo
Methods
impl RichStringView
[src]
Trait Implementations
impl Default for RichStringView
[src]
fn default() -> RichStringView
[src]
Returns the "default value" for a type. Read more
impl Debug for RichStringView
[src]
impl Clone for RichStringView
[src]
fn clone(&self) -> RichStringView
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for RichStringView
[src]
impl<T: AsRef<str>> View<T> for RichStringView
[src]
fn view<G: ViewGrid>(
&mut self,
string: &T,
offset: Coord,
depth: i32,
grid: &mut G
)
[src]
&mut self,
string: &T,
offset: Coord,
depth: i32,
grid: &mut G
)
Update the cells in grid
to describe how a type should be rendered.