Struct calyx_frontend::ast::Cell
source · [−]pub struct Cell {
pub name: Id,
pub prototype: Proto,
pub attributes: Attributes,
pub reference: bool,
}
Expand description
The Cell AST nodes.
Fields
name: Id
Name of the cell.
prototype: Proto
Name of the prototype this cell was built from.
attributes: Attributes
Attributes attached to this cell definition
reference: bool
Whether this cell is external
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnwindSafe for Cell
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more