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 for UsingFunction
impl PartialEq 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 ==
.impl Eq for UsingFunction
impl StructuralEq for UsingFunction
impl StructuralPartialEq for UsingFunction
Auto Trait Implementations§
impl RefUnwindSafe for UsingFunction
impl Send for UsingFunction
impl Sync for UsingFunction
impl Unpin for UsingFunction
impl UnwindSafe for UsingFunction
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