Enum TextNodeHover
pub enum TextNodeHover {
Text,
Item {
id: String,
count: u32,
components: Option<Tag>,
},
Entity {
kind: String,
id: [u64; 2],
},
}Expand description
Shallow hover event. Text and entity-name values use related rows.
Variants§
Text
Exactly one HoverText row is required.
Item
Item identity and optional component patch.
Fields
Entity
Entity identity; a HoverEntityName row is optional.
Trait Implementations§
§impl Clone for TextNodeHover
impl Clone for TextNodeHover
§fn clone(&self) -> TextNodeHover
fn clone(&self) -> TextNodeHover
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for TextNodeHover
impl Debug for TextNodeHover
impl Eq for TextNodeHover
§impl PartialEq for TextNodeHover
impl PartialEq for TextNodeHover
impl StructuralPartialEq for TextNodeHover
Auto Trait Implementations§
impl Freeze for TextNodeHover
impl RefUnwindSafe for TextNodeHover
impl Send for TextNodeHover
impl Sync for TextNodeHover
impl Unpin for TextNodeHover
impl UnsafeUnpin for TextNodeHover
impl UnwindSafe for TextNodeHover
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