Struct vhdl_lang::ast::AttributeSpecification
source · pub struct AttributeSpecification {
pub ident: WithRef<Ident>,
pub entity_name: EntityName,
pub entity_class: EntityClass,
pub expr: WithTokenSpan<Expression>,
}
Expand description
LRM 7.2 Attribute specification
Fields§
§ident: WithRef<Ident>
§entity_name: EntityName
§entity_class: EntityClass
§expr: WithTokenSpan<Expression>
Trait Implementations§
source§impl Clone for AttributeSpecification
impl Clone for AttributeSpecification
source§fn clone(&self) -> AttributeSpecification
fn clone(&self) -> AttributeSpecification
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 AttributeSpecification
impl Debug for AttributeSpecification
source§impl HasEntityId for AttributeSpecification
impl HasEntityId for AttributeSpecification
source§impl PartialEq for AttributeSpecification
impl PartialEq for AttributeSpecification
source§fn eq(&self, other: &AttributeSpecification) -> bool
fn eq(&self, other: &AttributeSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttributeSpecification
Auto Trait Implementations§
impl !Freeze for AttributeSpecification
impl RefUnwindSafe for AttributeSpecification
impl Send for AttributeSpecification
impl Sync for AttributeSpecification
impl Unpin for AttributeSpecification
impl UnwindSafe for AttributeSpecification
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