Struct solang_parser::pt::YulTypedIdentifier
source · pub struct YulTypedIdentifier {
pub loc: Loc,
pub id: Identifier,
pub ty: Option<Identifier>,
}
Expand description
A Yul typed identifier.
<id> [: <ty>]
Fields§
§loc: Loc
The code location.
id: Identifier
The identifier.
ty: Option<Identifier>
The optional type.
Trait Implementations§
source§impl Clone for YulTypedIdentifier
impl Clone for YulTypedIdentifier
source§fn clone(&self) -> YulTypedIdentifier
fn clone(&self) -> YulTypedIdentifier
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 YulTypedIdentifier
impl CodeLocation for YulTypedIdentifier
source§impl Debug for YulTypedIdentifier
impl Debug for YulTypedIdentifier
source§impl Display for YulTypedIdentifier
impl Display for YulTypedIdentifier
source§impl PartialEq for YulTypedIdentifier
impl PartialEq for YulTypedIdentifier
source§fn eq(&self, other: &YulTypedIdentifier) -> bool
fn eq(&self, other: &YulTypedIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for YulTypedIdentifier
impl StructuralEq for YulTypedIdentifier
impl StructuralPartialEq for YulTypedIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for YulTypedIdentifier
impl Send for YulTypedIdentifier
impl Sync for YulTypedIdentifier
impl Unpin for YulTypedIdentifier
impl UnwindSafe for YulTypedIdentifier
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