Struct nannou::ui::event::Text [−][src]
pub struct Text { pub string: String, pub modifiers: ModifierKey, }
Contains all relevant information for a Text event.
Fields
string: String
All text that was entered as a part of the event.
modifiers: ModifierKey
The modifier keys that were down at the time.
Trait Implementations
impl Clone for Text
[src]
impl Clone for Text
fn clone(&self) -> Text
[src]
fn clone(&self) -> Text
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Text
[src]
impl Debug for Text
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<Text> for Widget
[src]
impl From<Text> for Widget
impl PartialEq<Text> for Text
[src]
impl PartialEq<Text> for Text