Struct solang_parser::pt::UsingFunction
source · pub struct UsingFunction {
pub loc: Loc,
pub path: IdentifierPath,
pub oper: Option<UserDefinedOperator>,
}
Expand description
A using
function. See UsingList.
<path> [ as <oper> ]
Fields§
§loc: Loc
The code location.
path: IdentifierPath
The identifier path.
oper: Option<UserDefinedOperator>
The optional user-defined operator.
Trait Implementations§
source§impl Clone for UsingFunction
impl Clone for UsingFunction
source§fn clone(&self) -> UsingFunction
fn clone(&self) -> UsingFunction
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 moresource§impl CodeLocation for UsingFunction
impl CodeLocation for UsingFunction
source§impl Debug for UsingFunction
impl Debug for UsingFunction
source§impl Display for UsingFunction
impl Display for UsingFunction
source§impl OptionalCodeLocation for UsingFunction
impl OptionalCodeLocation for UsingFunction
source§impl PartialEq<UsingFunction> for UsingFunction
impl PartialEq<UsingFunction> for UsingFunction
source§fn eq(&self, other: &UsingFunction) -> bool
fn eq(&self, other: &UsingFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.