pub struct Netlist {
pub creator: String,
pub modules: HashMap<String, Module>,
}
Expand description
Represents an entire .json file used by Yosys
Fields§
§creator: String
The program that created this file.
modules: HashMap<String, Module>
A map from module names to module objects contained in this .json file
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Netlist
impl<'de> Deserialize<'de> for Netlist
Source§fn 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 Netlist
impl StructuralPartialEq for Netlist
Auto Trait Implementations§
impl Freeze for Netlist
impl RefUnwindSafe for Netlist
impl Send for Netlist
impl Sync for Netlist
impl Unpin for Netlist
impl UnwindSafe for Netlist
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