Struct yosys_netlist_json::Cell
source · [−]pub struct Cell {
pub hide_name: usize,
pub cell_type: String,
pub parameters: HashMap<String, AttributeVal>,
pub attributes: HashMap<String, AttributeVal>,
pub port_directions: HashMap<String, PortDirection>,
pub connections: HashMap<String, Vec<BitVal>>,
}
Expand description
Represents a cell in a module
Fields
hide_name: usize
Indicates an internal/auto-generated name that starts with $
cell_type: String
Name of the type of this cell
parameters: HashMap<String, AttributeVal>
Parameters specified on this cell
attributes: HashMap<String, AttributeVal>
Attributes specified on this cell
port_directions: HashMap<String, PortDirection>
The direction of the ports on this cell
connections: HashMap<String, Vec<BitVal>>
Bit value(s) representing the wire(s) connected to the inputs/outputs of this cell
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Cell
impl<'de> Deserialize<'de> for Cell
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Cell
impl StructuralEq for Cell
impl StructuralPartialEq for Cell
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 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more