pub enum HoverEvent {
ShowText {
value: Box<FormattedText>,
},
ShowItem {},
ShowEntity {
id: i32,
name: Box<FormattedText>,
},
}
Variants§
Trait Implementations§
Source§impl Clone for HoverEvent
impl Clone for HoverEvent
Source§fn clone(&self) -> HoverEvent
fn clone(&self) -> HoverEvent
Returns a duplicate 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
Source§impl PartialEq for HoverEvent
impl PartialEq for HoverEvent
Source§impl Serialize for HoverEvent
impl Serialize for HoverEvent
impl StructuralPartialEq for HoverEvent
Auto Trait Implementations§
impl Freeze for HoverEvent
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