[][src]Struct tamasfe_lsp_types::Hover

pub struct Hover {
    pub contents: HoverContents,
    pub range: Option<Range>,
}

The result of a hover request.

Fields

contents: HoverContents

The hover's content

range: Option<Range>

An optional range is a range inside a text document that is used to visualize a hover, e.g. by changing the background color.

Trait Implementations

impl Clone for Hover[src]

impl Debug for Hover[src]

impl<'de> Deserialize<'de> for Hover[src]

impl Eq for Hover[src]

impl PartialEq<Hover> for Hover[src]

impl Serialize for Hover[src]

impl StructuralEq for Hover[src]

impl StructuralPartialEq for Hover[src]

Auto Trait Implementations

impl RefUnwindSafe for Hover

impl Send for Hover

impl Sync for Hover

impl Unpin for Hover

impl UnwindSafe for Hover

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.