Struct orbclient::event::TextInputEvent
source · pub struct TextInputEvent {
pub character: char,
}
Fields§
§character: char
Implementations§
source§impl TextInputEvent
impl TextInputEvent
sourcepub fn from_event(event: Event) -> TextInputEvent
pub fn from_event(event: Event) -> TextInputEvent
Convert from an Event
Trait Implementations§
source§impl Clone for TextInputEvent
impl Clone for TextInputEvent
source§fn clone(&self) -> TextInputEvent
fn clone(&self) -> TextInputEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more