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 moresource§impl Debug for HoverEvent
impl Debug for HoverEvent
impl Copy for HoverEvent
Auto Trait Implementations§
impl RefUnwindSafe for HoverEvent
impl Send for HoverEvent
impl Sync for HoverEvent
impl Unpin for HoverEvent
impl UnwindSafe for HoverEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more