Struct solang_parser::pt::NamedArgument
source · [−]pub struct NamedArgument {
pub loc: Loc,
pub name: Identifier,
pub expr: Expression,
}Fields
loc: Locname: Identifierexpr: ExpressionTrait Implementations
sourceimpl Clone for NamedArgument
impl Clone for NamedArgument
sourcefn clone(&self) -> NamedArgument
fn clone(&self) -> NamedArgument
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 more
sourceimpl Debug for NamedArgument
impl Debug for NamedArgument
sourceimpl PartialEq<NamedArgument> for NamedArgument
impl PartialEq<NamedArgument> for NamedArgument
sourcefn eq(&self, other: &NamedArgument) -> bool
fn eq(&self, other: &NamedArgument) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &NamedArgument) -> bool
fn ne(&self, other: &NamedArgument) -> bool
This method tests for !=.
impl StructuralPartialEq for NamedArgument
Auto Trait Implementations
impl RefUnwindSafe for NamedArgument
impl Send for NamedArgument
impl Sync for NamedArgument
impl Unpin for NamedArgument
impl UnwindSafe for NamedArgument
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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