pub enum ChatHoverEvent {
ShowText(BoxedChat),
ShowItem(Value),
ShowEntity(Value),
}
Variants§
Trait Implementations§
Source§impl Clone for ChatHoverEvent
impl Clone for ChatHoverEvent
Source§fn clone(&self) -> ChatHoverEvent
fn clone(&self) -> ChatHoverEvent
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 ChatHoverEvent
impl Debug for ChatHoverEvent
Source§impl<'de> Deserialize<'de> for ChatHoverEvent
impl<'de> Deserialize<'de> for ChatHoverEvent
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChatHoverEvent
impl PartialEq for ChatHoverEvent
Source§impl Serialize for ChatHoverEvent
impl Serialize for ChatHoverEvent
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ChatHoverEvent
Auto Trait Implementations§
impl Freeze for ChatHoverEvent
impl RefUnwindSafe for ChatHoverEvent
impl Send for ChatHoverEvent
impl Sync for ChatHoverEvent
impl Unpin for ChatHoverEvent
impl UnwindSafe for ChatHoverEvent
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