pub enum PatternLikeKind<'a, F, X, T: PatternLike<F, X>> {
Cons(&'a F, &'a [T]),
Var(&'a X),
}
Variants§
Auto Trait Implementations§
impl<'a, F, X, T> Freeze for PatternLikeKind<'a, F, X, T>
impl<'a, F, X, T> RefUnwindSafe for PatternLikeKind<'a, F, X, T>
impl<'a, F, X, T> Send for PatternLikeKind<'a, F, X, T>
impl<'a, F, X, T> Sync for PatternLikeKind<'a, F, X, T>
impl<'a, F, X, T> Unpin for PatternLikeKind<'a, F, X, T>
impl<'a, F, X, T> UnwindSafe for PatternLikeKind<'a, F, X, T>
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