pub struct CodeHover {
pub decoration: Option<u64>,
pub position: Position,
pub phase: HoverPhase,
}Expand description
A pointer came to rest over a place in the editor, or left it.
How long it has to rest is the design system’s, the same kind of delay a tooltip waits, and nothing is sent again while it stays. What to show is the application’s, drawn with the overlay widgets it already has.
Fields§
§decoration: Option<u64>The id of the hover anchor under the pointer, or None where there is none.
position: Position§phase: HoverPhaseTrait Implementations§
impl Copy for CodeHover
impl Eq for CodeHover
impl StructuralPartialEq for CodeHover
Auto Trait Implementations§
impl Freeze for CodeHover
impl RefUnwindSafe for CodeHover
impl Send for CodeHover
impl Sync for CodeHover
impl Unpin for CodeHover
impl UnsafeUnpin for CodeHover
impl UnwindSafe for CodeHover
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