pub enum NamedTurbofish {
Short(Loc<Identifier>),
Full(Loc<Identifier>, Loc<TypeExpression>),
}
Variants§
Short(Loc<Identifier>)
Full(Loc<Identifier>, Loc<TypeExpression>)
Trait Implementations§
Source§impl Clone for NamedTurbofish
impl Clone for NamedTurbofish
Source§fn clone(&self) -> NamedTurbofish
fn clone(&self) -> NamedTurbofish
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 NamedTurbofish
impl Debug for NamedTurbofish
Source§impl PartialEq for NamedTurbofish
impl PartialEq for NamedTurbofish
Source§impl WithLocation for NamedTurbofish
impl WithLocation for NamedTurbofish
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 NamedTurbofish
Auto Trait Implementations§
impl Freeze for NamedTurbofish
impl RefUnwindSafe for NamedTurbofish
impl Send for NamedTurbofish
impl Sync for NamedTurbofish
impl Unpin for NamedTurbofish
impl UnwindSafe for NamedTurbofish
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