pub struct LabelSet(pub Vec<SmolStr>);Expand description
A set of node labels used in pattern-matching predicates. Spec §12.1.
Tuple Fields§
§0: Vec<SmolStr>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LabelSet
impl<'de> Deserialize<'de> for LabelSet
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LabelSet
impl StructuralPartialEq for LabelSet
Auto Trait Implementations§
impl Freeze for LabelSet
impl RefUnwindSafe for LabelSet
impl Send for LabelSet
impl Sync for LabelSet
impl Unpin for LabelSet
impl UnsafeUnpin for LabelSet
impl UnwindSafe for LabelSet
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.