pub enum TurbofishInner {
Named(Vec<Loc<NamedTurbofish>>),
Positional(Vec<Loc<TypeExpression>>),
}
Variants§
Named(Vec<Loc<NamedTurbofish>>)
Positional(Vec<Loc<TypeExpression>>)
Trait Implementations§
Source§impl Clone for TurbofishInner
impl Clone for TurbofishInner
Source§fn clone(&self) -> TurbofishInner
fn clone(&self) -> TurbofishInner
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 Debug for TurbofishInner
impl Debug for TurbofishInner
Source§impl PartialEq for TurbofishInner
impl PartialEq for TurbofishInner
Source§impl WithLocation for TurbofishInner
impl WithLocation for TurbofishInner
fn at(self, file_id: usize, span: &impl HasCodespan) -> Loc<Self>where
Self: Sized,
fn between( self, file_id: usize, start: &impl HasCodespan, end: &impl HasCodespan, ) -> Loc<Self>
fn between_locs<T, Y>(self, start: &Loc<T>, end: &Loc<Y>) -> Loc<Self>
fn nowhere(self) -> Loc<Self>where
Self: Sized,
impl StructuralPartialEq for TurbofishInner
Auto Trait Implementations§
impl Freeze for TurbofishInner
impl RefUnwindSafe for TurbofishInner
impl Send for TurbofishInner
impl Sync for TurbofishInner
impl Unpin for TurbofishInner
impl UnwindSafe for TurbofishInner
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<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