Struct vhdl_lang::ast::AttributeDeclaration
source · pub struct AttributeDeclaration {
pub ident: WithDecl<Ident>,
pub type_mark: WithTokenSpan<TypeMark>,
}
Expand description
LRM 6.7 Attribute declarations
Fields§
§ident: WithDecl<Ident>
§type_mark: WithTokenSpan<TypeMark>
Trait Implementations§
source§impl Clone for AttributeDeclaration
impl Clone for AttributeDeclaration
source§fn clone(&self) -> AttributeDeclaration
fn clone(&self) -> AttributeDeclaration
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 AttributeDeclaration
impl Debug for AttributeDeclaration
source§impl Display for AttributeDeclaration
impl Display for AttributeDeclaration
source§impl HasEntityId for AttributeDeclaration
impl HasEntityId for AttributeDeclaration
source§impl PartialEq for AttributeDeclaration
impl PartialEq for AttributeDeclaration
source§fn eq(&self, other: &AttributeDeclaration) -> bool
fn eq(&self, other: &AttributeDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttributeDeclaration
Auto Trait Implementations§
impl !Freeze for AttributeDeclaration
impl RefUnwindSafe for AttributeDeclaration
impl Send for AttributeDeclaration
impl Sync for AttributeDeclaration
impl Unpin for AttributeDeclaration
impl UnwindSafe for AttributeDeclaration
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