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§
source§impl Clone for AmbiguousSuffix
impl Clone for AmbiguousSuffix
source§fn clone(&self) -> AmbiguousSuffix
fn clone(&self) -> AmbiguousSuffix
Returns a copy 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 more