Struct vhdl_lang::ast::AliasDeclaration
source · pub struct AliasDeclaration {
pub designator: WithDecl<WithToken<Designator>>,
pub subtype_indication: Option<SubtypeIndication>,
pub name: WithTokenSpan<Name>,
pub signature: Option<WithTokenSpan<Signature>>,
}
Expand description
LRM 6.6 Alias declarations
Fields§
§designator: WithDecl<WithToken<Designator>>
§subtype_indication: Option<SubtypeIndication>
§name: WithTokenSpan<Name>
§signature: Option<WithTokenSpan<Signature>>
Trait Implementations§
source§impl Clone for AliasDeclaration
impl Clone for AliasDeclaration
source§fn clone(&self) -> AliasDeclaration
fn clone(&self) -> AliasDeclaration
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 Debug for AliasDeclaration
impl Debug for AliasDeclaration
source§impl Display for AliasDeclaration
impl Display for AliasDeclaration
source§impl HasEntityId for AliasDeclaration
impl HasEntityId for AliasDeclaration
source§impl PartialEq for AliasDeclaration
impl PartialEq for AliasDeclaration
source§fn eq(&self, other: &AliasDeclaration) -> bool
fn eq(&self, other: &AliasDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AliasDeclaration
Auto Trait Implementations§
impl !Freeze for AliasDeclaration
impl RefUnwindSafe for AliasDeclaration
impl Send for AliasDeclaration
impl Sync for AliasDeclaration
impl Unpin for AliasDeclaration
impl UnwindSafe for AliasDeclaration
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