Struct orbclient::event::FocusEvent
[−]
[src]
pub struct FocusEvent { pub focused: bool, }
A focus event
Fields
focused: bool
True if window has been focused, false if not
Methods
impl FocusEvent
[src]
fn to_event(&self) -> Event
fn from_event(event: Event) -> FocusEvent
Trait Implementations
impl Copy for FocusEvent
[src]
impl Clone for FocusEvent
[src]
fn clone(&self) -> FocusEvent
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