pub struct DesignUnit {
pub id: NodeId,
pub ctx: Vec<CtxItem>,
pub data: DesignUnitData,
}
Expand description
A design unit. Multiple design units make up a design file. Each unit consists of an optional context clause followed by a primary or secondary unit.
Fields§
§id: NodeId
§ctx: Vec<CtxItem>
§data: DesignUnitData
Trait Implementations§
Source§impl Clone for DesignUnit
impl Clone for DesignUnit
Source§fn clone(&self) -> DesignUnit
fn clone(&self) -> DesignUnit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DesignUnit
impl Debug for DesignUnit
Source§impl PartialEq for DesignUnit
impl PartialEq for DesignUnit
impl Eq for DesignUnit
impl StructuralPartialEq for DesignUnit
Auto Trait Implementations§
impl Freeze for DesignUnit
impl RefUnwindSafe for DesignUnit
impl Send for DesignUnit
impl Sync for DesignUnit
impl Unpin for DesignUnit
impl UnwindSafe for DesignUnit
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