Struct lsp_types::WindowClientCapabilities
source · [−]pub struct WindowClientCapabilities {
pub work_done_progress: Option<bool>,
pub show_message: Option<ShowMessageRequestClientCapabilities>,
pub show_document: Option<ShowDocumentClientCapabilities>,
}
Expand description
Window specific client capabilities.
Fields
work_done_progress: Option<bool>
Whether client supports handling progress notifications. If set
servers are allowed to report in workDoneProgress
property in the
request specific server capabilities.
@since 3.15.0
show_message: Option<ShowMessageRequestClientCapabilities>
Capabilities specific to the showMessage request.
@since 3.16.0
show_document: Option<ShowDocumentClientCapabilities>
Client capabilities for the show document request.
@since 3.16.0
Trait Implementations
sourceimpl Clone for WindowClientCapabilities
impl Clone for WindowClientCapabilities
sourcefn clone(&self) -> WindowClientCapabilities
fn clone(&self) -> WindowClientCapabilities
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WindowClientCapabilities
impl Debug for WindowClientCapabilities
sourceimpl Default for WindowClientCapabilities
impl Default for WindowClientCapabilities
sourcefn default() -> WindowClientCapabilities
fn default() -> WindowClientCapabilities
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for WindowClientCapabilities
impl<'de> Deserialize<'de> for WindowClientCapabilities
sourcefn 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
sourceimpl PartialEq<WindowClientCapabilities> for WindowClientCapabilities
impl PartialEq<WindowClientCapabilities> for WindowClientCapabilities
sourcefn eq(&self, other: &WindowClientCapabilities) -> bool
fn eq(&self, other: &WindowClientCapabilities) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WindowClientCapabilities) -> bool
fn ne(&self, other: &WindowClientCapabilities) -> bool
This method tests for !=
.
sourceimpl Serialize for WindowClientCapabilities
impl Serialize for WindowClientCapabilities
impl StructuralPartialEq for WindowClientCapabilities
Auto Trait Implementations
impl RefUnwindSafe for WindowClientCapabilities
impl Send for WindowClientCapabilities
impl Sync for WindowClientCapabilities
impl Unpin for WindowClientCapabilities
impl UnwindSafe for WindowClientCapabilities
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more