[][src]Struct moore_vhdl::hir::Library

pub struct Library<'t> { /* fields omitted */ }

A library.

Methods

impl<'t> Library<'t>
[src]

pub fn new(
    name: Name,
    units: &[&'t DesignUnit],
    ctx: AllocContext<'t>
) -> Result<&'t Library<'t>>
[src]

Create a new library of design units.

pub fn name(&self) -> Name
[src]

Return the name of the library.

pub fn units(&self) -> &[&'t dyn LatentNode<'t, dyn Node<'t>>]
[src]

Return a slice of the design units in this library.

pub fn scope(&self) -> &'t ScopeData<'t>
[src]

Return the scope of the library.

Trait Implementations

impl<'a, 't> Alloc<'a, 'a, Library<'t>> for Arenas2<'t> where
    't: 'a, 
[src]

impl<'t> Node<'t> for Library<'t>
[src]

impl<'t> Debug for Library<'t>
[src]

Auto Trait Implementations

impl<'t> !Send for Library<'t>

impl<'t> !Sync for Library<'t>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.