pub enum BindingsName<'s> {
CaseSensitive(Cow<'s, str>),
CaseInsensitive(Cow<'s, str>),
}Variants§
Implementations§
Source§impl<'s> BindingsName<'s>
impl<'s> BindingsName<'s>
pub fn matcher(&'s self) -> BindingsMatcher<'s>
Trait Implementations§
Source§impl<'s> Clone for BindingsName<'s>
impl<'s> Clone for BindingsName<'s>
Source§fn clone(&self) -> BindingsName<'s>
fn clone(&self) -> BindingsName<'s>
Returns a duplicate 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 moreSource§impl<'s> Debug for BindingsName<'s>
impl<'s> Debug for BindingsName<'s>
Source§impl<'s> From<&'s BindingsName<'s>> for BindingsMatcher<'s>
impl<'s> From<&'s BindingsName<'s>> for BindingsMatcher<'s>
Source§fn from(name: &'s BindingsName<'_>) -> Self
fn from(name: &'s BindingsName<'_>) -> Self
Converts to this type from the input type.
Source§impl<'s> Hash for BindingsName<'s>
impl<'s> Hash for BindingsName<'s>
Source§impl<'s> PartialEq for BindingsName<'s>
impl<'s> PartialEq for BindingsName<'s>
impl<'s> Eq for BindingsName<'s>
impl<'s> StructuralPartialEq for BindingsName<'s>
Auto Trait Implementations§
impl<'s> Freeze for BindingsName<'s>
impl<'s> RefUnwindSafe for BindingsName<'s>
impl<'s> Send for BindingsName<'s>
impl<'s> Sync for BindingsName<'s>
impl<'s> Unpin for BindingsName<'s>
impl<'s> UnwindSafe for BindingsName<'s>
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more