Struct vhdl_lang::ast::ConfigurationDeclaration
source · pub struct ConfigurationDeclaration {
pub context_clause: ContextClause,
pub ident: WithDecl<Ident>,
pub entity_name: WithTokenSpan<Name>,
pub decl: Vec<ConfigurationDeclarativeItem>,
pub vunit_bind_inds: Vec<VUnitBindingIndication>,
pub block_config: BlockConfiguration,
pub end_ident_pos: Option<TokenId>,
/* private fields */
}
Expand description
LRM 3.4 Configuration declarations
Fields§
§context_clause: ContextClause
§ident: WithDecl<Ident>
§entity_name: WithTokenSpan<Name>
§decl: Vec<ConfigurationDeclarativeItem>
§vunit_bind_inds: Vec<VUnitBindingIndication>
§block_config: BlockConfiguration
§end_ident_pos: Option<TokenId>
Trait Implementations§
source§impl Clone for ConfigurationDeclaration
impl Clone for ConfigurationDeclaration
source§fn clone(&self) -> ConfigurationDeclaration
fn clone(&self) -> ConfigurationDeclaration
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 ConfigurationDeclaration
impl Debug for ConfigurationDeclaration
source§impl Display for ConfigurationDeclaration
impl Display for ConfigurationDeclaration
source§impl HasTokenSpan for ConfigurationDeclaration
impl HasTokenSpan for ConfigurationDeclaration
fn get_start_token(&self) -> TokenId
fn get_end_token(&self) -> TokenId
fn get_token_slice<'a>(&self, tokens: &'a dyn TokenAccess) -> &'a [Token]
fn get_pos(&self, tokens: &dyn TokenAccess) -> SrcPos
fn get_span(&self, ctx: &dyn TokenAccess) -> SrcPos
fn span(&self) -> TokenSpan
source§impl PartialEq for ConfigurationDeclaration
impl PartialEq for ConfigurationDeclaration
source§fn eq(&self, other: &ConfigurationDeclaration) -> bool
fn eq(&self, other: &ConfigurationDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Search for ConfigurationDeclaration
impl Search for ConfigurationDeclaration
fn search( &self, ctx: &dyn TokenAccess, searcher: &mut impl Searcher ) -> SearchResult
impl StructuralPartialEq for ConfigurationDeclaration
Auto Trait Implementations§
impl !Freeze for ConfigurationDeclaration
impl RefUnwindSafe for ConfigurationDeclaration
impl Send for ConfigurationDeclaration
impl Sync for ConfigurationDeclaration
impl Unpin for ConfigurationDeclaration
impl UnwindSafe for ConfigurationDeclaration
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