Struct moore_vhdl::hir::Library
source · [−]pub struct Library<'t> { /* private fields */ }
Expand description
A library.
Implementations
sourceimpl<'t> Library<'t>
impl<'t> Library<'t>
sourcepub fn new(
name: Name,
units: &[&'t DesignUnit],
ctx: AllocContext<'t>
) -> Result<&'t Library<'t>>
pub fn new(
name: Name,
units: &[&'t DesignUnit],
ctx: AllocContext<'t>
) -> Result<&'t Library<'t>>
Create a new library of design units.
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more