[−][src]Struct moore_vhdl::hir::Library
A library.
Implementations
impl<'t> Library<'t>
[src]
pub fn new(
name: Name,
units: &[&'t DesignUnit],
ctx: AllocContext<'t>
) -> Result<&'t Library<'t>>
[src]
name: Name,
units: &[&'t DesignUnit],
ctx: AllocContext<'t>
) -> Result<&'t Library<'t>>
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]
't: 'a,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,