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 Debug for Text
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Text
[src]

fn eq(&self, __arg_0: &Text) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Text) -> bool

This method tests for !=.

impl Clone for Text
[src]

fn clone(&self) -> Text

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more