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]
impl FocusEventpub fn to_event(&self) -> Event[src]
pub fn to_event(&self) -> Eventpub fn from_event(event: Event) -> FocusEvent[src]
pub fn from_event(event: Event) -> FocusEventTrait Implementations
impl Copy for FocusEvent[src]
impl Copy for FocusEventimpl Clone for FocusEvent[src]
impl Clone for FocusEventfn clone(&self) -> FocusEvent[src]
fn clone(&self) -> FocusEventReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for FocusEvent[src]
impl Debug for FocusEventAuto Trait Implementations
impl Send for FocusEvent
impl Send for FocusEventimpl Sync for FocusEvent
impl Sync for FocusEvent