pub struct Convert { /* private fields */ }Expand description
Represents a converter that converts PyTV script to Python script to generate Verilog.
It is also possible to run the Python script after conversion and optionally delete it after running it. It contains methods for converting code and managing input/output files.
Implementations§
source§impl Convert
impl Convert
sourcepub fn new(config: Config, file_options: FileOptions) -> Convert
pub fn new(config: Config, file_options: FileOptions) -> Convert
Creates a new Convert instance with the given configuration and file options.
sourcepub fn from_args() -> Convert
pub fn from_args() -> Convert
Creates a new Convert instance by parsing command line arguments.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Convert
impl RefUnwindSafe for Convert
impl Send for Convert
impl Sync for Convert
impl Unpin for Convert
impl UnwindSafe for Convert
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