Struct sway_core::language::parsed::AmbiguousSuffix
source · Fields
before: TypeBinding<Ident>
The ambiguous part of the suffix.
For example, if we have Foo::bar()
,
we don’t know whether Foo
is a module or a type,
so before
would be Foo
here with any type arguments.
suffix: Ident
The final suffix, i.e., the function name.
In the example above, this would be bar
.
Trait Implementations
sourceimpl Clone for AmbiguousSuffix
impl Clone for AmbiguousSuffix
sourcefn clone(&self) -> AmbiguousSuffix
fn clone(&self) -> AmbiguousSuffix
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AmbiguousSuffix
impl Debug for AmbiguousSuffix
Auto Trait Implementations
impl RefUnwindSafe for AmbiguousSuffix
impl Send for AmbiguousSuffix
impl Sync for AmbiguousSuffix
impl Unpin for AmbiguousSuffix
impl UnwindSafe for AmbiguousSuffix
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more