pub struct Node {
pub name: Option<Arc<str>>,
pub label: Arc<str>,
pub op: Op,
pub ty: Ty,
pub tier: Tier,
pub inputs: Vec<SigId>,
pub span: Span,
}Fields§
§name: Option<Arc<str>>The declared name, when this vertex is a signal declaration rather than a sub-expression of one.
label: Arc<str>What to call it in a diagnostic: the declared name, or <parent>·<op> for an inner vertex.
op: Op§ty: Ty§tier: Tier§inputs: Vec<SigId>The vertices this one reads, in the order the construct takes them.
span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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