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 moresource§impl Debug for TextInputEvent
impl Debug for TextInputEvent
impl Copy for TextInputEvent
Auto Trait Implementations§
impl RefUnwindSafe for TextInputEvent
impl Send for TextInputEvent
impl Sync for TextInputEvent
impl Unpin for TextInputEvent
impl UnwindSafe for TextInputEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more