pub struct DocumentHighlightParams {
pub work_done_progress_params: WorkDoneProgressParams,
pub partial_result_params: PartialResultParams,
pub text_document_position_params: TextDocumentPositionParams,
}Expand description
Parameters for a DocumentHighlightRequest.
Fields§
§work_done_progress_params: WorkDoneProgressParams§partial_result_params: PartialResultParams§text_document_position_params: TextDocumentPositionParamsImplementations§
Source§impl DocumentHighlightParams
impl DocumentHighlightParams
pub const fn new( work_done_progress_params: WorkDoneProgressParams, partial_result_params: PartialResultParams, text_document_position_params: TextDocumentPositionParams, ) -> Self
Trait Implementations§
Source§impl Clone for DocumentHighlightParams
impl Clone for DocumentHighlightParams
Source§fn clone(&self) -> DocumentHighlightParams
fn clone(&self) -> DocumentHighlightParams
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 DocumentHighlightParams
impl Debug for DocumentHighlightParams
Source§impl<'de> Deserialize<'de> for DocumentHighlightParams
impl<'de> Deserialize<'de> for DocumentHighlightParams
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 DocumentHighlightParams
impl Hash for DocumentHighlightParams
Source§impl PartialEq for DocumentHighlightParams
impl PartialEq for DocumentHighlightParams
Source§fn eq(&self, other: &DocumentHighlightParams) -> bool
fn eq(&self, other: &DocumentHighlightParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DocumentHighlightParams
impl Serialize for DocumentHighlightParams
impl Eq for DocumentHighlightParams
impl StructuralPartialEq for DocumentHighlightParams
Auto Trait Implementations§
impl Freeze for DocumentHighlightParams
impl RefUnwindSafe for DocumentHighlightParams
impl Send for DocumentHighlightParams
impl Sync for DocumentHighlightParams
impl Unpin for DocumentHighlightParams
impl UnsafeUnpin for DocumentHighlightParams
impl UnwindSafe for DocumentHighlightParams
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