pub struct ReferenceParams {
pub context: ReferenceContext,
pub work_done_progress_params: WorkDoneProgressParams,
pub partial_result_params: PartialResultParams,
pub text_document_position_params: TextDocumentPositionParams,
}Expand description
Parameters for a ReferencesRequest.
Fields§
§context: ReferenceContext§work_done_progress_params: WorkDoneProgressParams§partial_result_params: PartialResultParams§text_document_position_params: TextDocumentPositionParamsImplementations§
Source§impl ReferenceParams
impl ReferenceParams
pub const fn new( context: ReferenceContext, work_done_progress_params: WorkDoneProgressParams, partial_result_params: PartialResultParams, text_document_position_params: TextDocumentPositionParams, ) -> Self
Trait Implementations§
Source§impl Clone for ReferenceParams
impl Clone for ReferenceParams
Source§fn clone(&self) -> ReferenceParams
fn clone(&self) -> ReferenceParams
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 moreSource§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 Hash for ReferenceParams
impl Hash for ReferenceParams
Source§impl PartialEq for ReferenceParams
impl PartialEq for ReferenceParams
Source§fn eq(&self, other: &ReferenceParams) -> bool
fn eq(&self, other: &ReferenceParams) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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