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