Struct lsp2::SignatureHelpTriggerKind
pub struct SignatureHelpTriggerKind(_);
Expand description
Signature help options.
Implementations§
§impl SignatureHelpTriggerKind
impl SignatureHelpTriggerKind
pub const INVOKED: SignatureHelpTriggerKind = SignatureHelpTriggerKind(1)
pub const INVOKED: SignatureHelpTriggerKind = SignatureHelpTriggerKind(1)
Signature help was invoked manually by the user or by a command.
pub const TRIGGER_CHARACTER: SignatureHelpTriggerKind = SignatureHelpTriggerKind(2)
pub const TRIGGER_CHARACTER: SignatureHelpTriggerKind = SignatureHelpTriggerKind(2)
Signature help was triggered by a trigger character.
pub const CONTENT_CHANGE: SignatureHelpTriggerKind = SignatureHelpTriggerKind(3)
pub const CONTENT_CHANGE: SignatureHelpTriggerKind = SignatureHelpTriggerKind(3)
Signature help was triggered by the cursor moving or by the document content changing.
Trait Implementations§
§impl Clone for SignatureHelpTriggerKind
impl Clone for SignatureHelpTriggerKind
§fn clone(&self) -> SignatureHelpTriggerKind
fn clone(&self) -> SignatureHelpTriggerKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for SignatureHelpTriggerKind
impl Debug for SignatureHelpTriggerKind
§impl<'de> Deserialize<'de> for SignatureHelpTriggerKind
impl<'de> Deserialize<'de> for SignatureHelpTriggerKind
§fn deserialize<__D>(
__deserializer: __D
) -> Result<SignatureHelpTriggerKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<SignatureHelpTriggerKind, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<SignatureHelpTriggerKind> for SignatureHelpTriggerKind
impl PartialEq<SignatureHelpTriggerKind> for SignatureHelpTriggerKind
§fn eq(&self, other: &SignatureHelpTriggerKind) -> bool
fn eq(&self, other: &SignatureHelpTriggerKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for SignatureHelpTriggerKind
impl Serialize for SignatureHelpTriggerKind
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl TryFrom<&str> for SignatureHelpTriggerKind
impl TryFrom<&str> for SignatureHelpTriggerKind
impl Eq for SignatureHelpTriggerKind
impl StructuralEq for SignatureHelpTriggerKind
impl StructuralPartialEq for SignatureHelpTriggerKind
Auto Trait Implementations§
impl RefUnwindSafe for SignatureHelpTriggerKind
impl Send for SignatureHelpTriggerKind
impl Sync for SignatureHelpTriggerKind
impl Unpin for SignatureHelpTriggerKind
impl UnwindSafe for SignatureHelpTriggerKind
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.