pub struct ReferenceParams {
pub text_document: TextDocumentIdentifier,
pub position: Position,
pub context: ReferenceContext,
}
Fields§
§text_document: TextDocumentIdentifier
The text document.
position: Position
The position inside the text document.
context: ReferenceContext
Trait Implementations§
Source§impl Debug for ReferenceParams
impl Debug for ReferenceParams
Source§impl<'de> Deserialize<'de> for ReferenceParams
impl<'de> Deserialize<'de> for ReferenceParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ReferenceParams
impl PartialEq for ReferenceParams
Source§impl Serialize for ReferenceParams
impl Serialize for ReferenceParams
impl Eq for ReferenceParams
impl StructuralPartialEq for ReferenceParams
Auto Trait Implementations§
impl Freeze for ReferenceParams
impl RefUnwindSafe for ReferenceParams
impl Send for ReferenceParams
impl Sync for ReferenceParams
impl Unpin for ReferenceParams
impl UnwindSafe for ReferenceParams
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