Struct solang_parser::pt::IdentifierPath
source · pub struct IdentifierPath {
pub loc: Loc,
pub identifiers: Vec<Identifier>,
}
Expand description
A qualified identifier.
<identifiers>.*
Fields§
§loc: Loc
The code location.
identifiers: Vec<Identifier>
The list of identifiers.
Trait Implementations§
source§impl Clone for IdentifierPath
impl Clone for IdentifierPath
source§fn clone(&self) -> IdentifierPath
fn clone(&self) -> IdentifierPath
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 IdentifierPath
impl CodeLocation for IdentifierPath
source§impl Debug for IdentifierPath
impl Debug for IdentifierPath
source§impl Display for IdentifierPath
impl Display for IdentifierPath
source§impl PartialEq for IdentifierPath
impl PartialEq for IdentifierPath
source§fn eq(&self, other: &IdentifierPath) -> bool
fn eq(&self, other: &IdentifierPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IdentifierPath
impl StructuralPartialEq for IdentifierPath
Auto Trait Implementations§
impl Freeze for IdentifierPath
impl RefUnwindSafe for IdentifierPath
impl Send for IdentifierPath
impl Sync for IdentifierPath
impl Unpin for IdentifierPath
impl UnwindSafe for IdentifierPath
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more