Enum bird_chat::component::HoverEvent
source · [−]pub enum HoverEvent {
ShowText(Box<ComponentType>),
ShowItem(String),
ShowEntity(String),
}Variants
ShowText(Box<ComponentType>)
ShowItem(String)
ShowEntity(String)
Trait Implementations
sourceimpl Clone for HoverEvent
impl Clone for HoverEvent
sourcefn clone(&self) -> HoverEvent
fn clone(&self) -> HoverEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for HoverEvent
impl Debug for HoverEvent
sourceimpl<'de> Deserialize<'de> for HoverEvent
impl<'de> Deserialize<'de> for HoverEvent
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<HoverEvent> for HoverEvent
impl PartialEq<HoverEvent> for HoverEvent
sourcefn eq(&self, other: &HoverEvent) -> bool
fn eq(&self, other: &HoverEvent) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &HoverEvent) -> bool
fn ne(&self, other: &HoverEvent) -> bool
This method tests for !=.
sourceimpl Serialize for HoverEvent
impl Serialize for HoverEvent
impl StructuralPartialEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more