pub enum Design<'a> {
Entity(Visibility<'a>, Region<'a>),
Architecture(Visibility<'a>, Region<'a>, DesignEnt<'a>),
Configuration,
Package(Visibility<'a>, Region<'a>),
PackageBody(Visibility<'a>, Region<'a>),
UninstPackage(Visibility<'a>, Region<'a>),
PackageInstance(Region<'a>),
InterfacePackageInstance(Region<'a>),
Context(Region<'a>),
}
Variants§
Entity(Visibility<'a>, Region<'a>)
Architecture(Visibility<'a>, Region<'a>, DesignEnt<'a>)
A VHDL architecture.
The linked DesignEnt
is the entity that belongs to the architecture.
Configuration
Package(Visibility<'a>, Region<'a>)
PackageBody(Visibility<'a>, Region<'a>)
UninstPackage(Visibility<'a>, Region<'a>)
PackageInstance(Region<'a>)
An instantiated Package, i.e.,
package foo is new bar generic map (...);
InterfacePackageInstance(Region<'a>)
An instantiated package that is part of some generic interface, i.e.,
generic (
package foo is new bar generic map (<>)
)
Context(Region<'a>)
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Design<'a>
impl<'a> !RefUnwindSafe for Design<'a>
impl<'a> Send for Design<'a>
impl<'a> Sync for Design<'a>
impl<'a> Unpin for Design<'a>
impl<'a> !UnwindSafe for Design<'a>
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