pub struct DocumentHighlightKind(/* private fields */);Expand description
A document highlight kind.
Implementations§
Source§impl DocumentHighlightKind
impl DocumentHighlightKind
Sourcepub const TEXT: DocumentHighlightKind
pub const TEXT: DocumentHighlightKind
A textual occurrence.
Sourcepub const READ: DocumentHighlightKind
pub const READ: DocumentHighlightKind
Read-access of a symbol, like reading a variable.
Sourcepub const WRITE: DocumentHighlightKind
pub const WRITE: DocumentHighlightKind
Write-access of a symbol, like writing to a variable.
Trait Implementations§
Source§impl Clone for DocumentHighlightKind
impl Clone for DocumentHighlightKind
Source§fn clone(&self) -> DocumentHighlightKind
fn clone(&self) -> DocumentHighlightKind
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 moreimpl Copy for DocumentHighlightKind
Source§impl Debug for DocumentHighlightKind
impl Debug for DocumentHighlightKind
Source§impl<'de> Deserialize<'de> for DocumentHighlightKind
impl<'de> Deserialize<'de> for DocumentHighlightKind
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
impl Eq for DocumentHighlightKind
Source§impl PartialEq for DocumentHighlightKind
impl PartialEq for DocumentHighlightKind
Source§fn eq(&self, other: &DocumentHighlightKind) -> bool
fn eq(&self, other: &DocumentHighlightKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DocumentHighlightKind
impl Serialize for DocumentHighlightKind
impl StructuralPartialEq for DocumentHighlightKind
Auto Trait Implementations§
impl Freeze for DocumentHighlightKind
impl RefUnwindSafe for DocumentHighlightKind
impl Send for DocumentHighlightKind
impl Sync for DocumentHighlightKind
impl Unpin for DocumentHighlightKind
impl UnsafeUnpin for DocumentHighlightKind
impl UnwindSafe for DocumentHighlightKind
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