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[src]
fn from_event(event: Event) -> FocusEvent[src]
Trait Implementations
impl Copy for FocusEvent[src]
impl Clone for FocusEvent[src]
fn clone(&self) -> FocusEvent[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more