Struct nannou::ui::prelude::widget::text::State
[−]
[src]
pub struct State { pub string: String, pub line_infos: Vec<Info>, }
The state to be stored between updates for the Text.
Fields
string: String
An owned version of the string.
line_infos: Vec<Info>
The indices and width for each line of text within the string
.
Trait Implementations
impl Clone for State
[src]
fn clone(&self) -> State
[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 PartialEq<State> for State
[src]
fn eq(&self, __arg_0: &State) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &State) -> bool
[src]
This method tests for !=
.