Struct conrod::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 PartialEq for Text
[src]
impl PartialEq for Text
fn eq(&self, other: &Text) -> bool
[src]
fn eq(&self, other: &Text) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Text) -> bool
[src]
fn ne(&self, other: &Text) -> bool
This method tests for !=
.
impl Debug for Text
[src]
impl Debug for Text
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Text> for Widget
[src]
impl From<Text> for Widget