Struct lsp2::TagSupport
pub struct TagSupport<T> {
pub value_set: Vec<T, Global>,
}
Fields§
§value_set: Vec<T, Global>
The tags supported by the client.
Trait Implementations§
§impl<T> Clone for TagSupport<T>where
T: Clone,
impl<T> Clone for TagSupport<T>where T: Clone,
§fn clone(&self) -> TagSupport<T>
fn clone(&self) -> TagSupport<T>
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<T> Debug for TagSupport<T>where
T: Debug,
impl<T> Debug for TagSupport<T>where T: Debug,
§impl<T> Default for TagSupport<T>where
T: Default,
impl<T> Default for TagSupport<T>where T: Default,
§fn default() -> TagSupport<T>
fn default() -> TagSupport<T>
Returns the “default value” for a type. Read more
§impl<'de, T> Deserialize<'de> for TagSupport<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for TagSupport<T>where T: Deserialize<'de>,
§fn deserialize<__D>(
__deserializer: __D
) -> Result<TagSupport<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<TagSupport<T>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl<T> PartialEq<TagSupport<T>> for TagSupport<T>where
T: PartialEq<T>,
impl<T> PartialEq<TagSupport<T>> for TagSupport<T>where T: PartialEq<T>,
§fn eq(&self, other: &TagSupport<T>) -> bool
fn eq(&self, other: &TagSupport<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl<T> Serialize for TagSupport<T>where
T: Serialize,
impl<T> Serialize for TagSupport<T>where T: Serialize,
§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<T> Eq for TagSupport<T>where T: Eq,
impl<T> StructuralEq for TagSupport<T>
impl<T> StructuralPartialEq for TagSupport<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for TagSupport<T>where T: RefUnwindSafe,
impl<T> Send for TagSupport<T>where T: Send,
impl<T> Sync for TagSupport<T>where T: Sync,
impl<T> Unpin for TagSupport<T>where T: Unpin,
impl<T> UnwindSafe for TagSupport<T>where T: UnwindSafe,
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.