pub enum As<'bump> {
As(Name<'bump>),
Elided(Name<'bump>),
}Expand description
Alias
Variants§
Trait Implementations§
impl<'bump> Eq for As<'bump>
impl<'bump> StructuralPartialEq for As<'bump>
Auto Trait Implementations§
impl<'bump> Freeze for As<'bump>
impl<'bump> RefUnwindSafe for As<'bump>
impl<'bump> Send for As<'bump>
impl<'bump> Sync for As<'bump>
impl<'bump> Unpin for As<'bump>
impl<'bump> UnsafeUnpin for As<'bump>
impl<'bump> UnwindSafe for As<'bump>
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<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.