Struct prototty_common::StringView
[−]
[src]
pub struct StringView;
Trait Implementations
impl Default for StringView
[src]
fn default() -> StringView
[src]
Returns the "default value" for a type. Read more
impl Debug for StringView
[src]
impl Clone for StringView
[src]
fn clone(&self) -> StringView
[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 StringView
[src]
impl<T: ?Sized + AsRef<str>> View<T> for StringView
[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.