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