pub struct SchematicOps;Implementations§
Source§impl SchematicOps
impl SchematicOps
pub fn new() -> Self
pub fn create_instance( &self, lib: &str, cell: &str, view: &str, name: &str, origin: (i64, i64), ) -> String
pub fn create_wire( &self, points: &[(i64, i64)], layer: &str, net_name: &str, ) -> String
pub fn create_wire_between_terms( &self, inst1: &str, _term1: &str, inst2: &str, _term2: &str, net_name: &str, ) -> String
pub fn create_wire_label(&self, net_name: &str, origin: (i64, i64)) -> String
pub fn create_pin( &self, net_name: &str, _pin_type: &str, origin: (i64, i64), ) -> String
pub fn check(&self) -> String
pub fn open_cellview(&self, lib: &str, cell: &str, view: &str) -> String
pub fn save(&self) -> String
pub fn set_instance_param( &self, inst_name: &str, param: &str, value: &str, ) -> String
Sourcepub fn list_instances(&self) -> String
pub fn list_instances(&self) -> String
List all instances in the open cellview. Returns JSON array via sprintf.
Sourcepub fn list_pins(&self) -> String
pub fn list_pins(&self) -> String
List all pins (terminals) in the open cellview. Returns JSON array.
Sourcepub fn get_instance_params(&self, inst_name: &str) -> String
pub fn get_instance_params(&self, inst_name: &str) -> String
Get parameters of a specific instance. Returns JSON object.
Trait Implementations§
Source§impl Default for SchematicOps
impl Default for SchematicOps
Source§fn default() -> SchematicOps
fn default() -> SchematicOps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SchematicOps
impl RefUnwindSafe for SchematicOps
impl Send for SchematicOps
impl Sync for SchematicOps
impl Unpin for SchematicOps
impl UnsafeUnpin for SchematicOps
impl UnwindSafe for SchematicOps
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more