Enum TextHover
pub enum TextHover {
Text(Box<Text>),
Item {
id: String,
count: u32,
components: Option<Tag>,
},
Entity {
kind: String,
id: [u64; 2],
name: Option<Box<Text>>,
},
}Expand description
A text component’s hover action.
Variants§
Text(Box<Text>)
Show another styled component tree.
Item
Show an item with its component patch.
Fields
Entity
Show an entity’s identity and optional name.
Trait Implementations§
impl StructuralPartialEq for TextHover
Auto Trait Implementations§
impl Freeze for TextHover
impl RefUnwindSafe for TextHover
impl Send for TextHover
impl Sync for TextHover
impl Unpin for TextHover
impl UnsafeUnpin for TextHover
impl UnwindSafe for TextHover
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