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

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

A library.

Implementations

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> Debug for Library<'t>[src]

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

Auto Trait Implementations

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

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

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

impl<'t> Unpin for Library<'t>

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

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.