pub struct LayoutOps;Implementations§
Source§impl LayoutOps
impl LayoutOps
pub fn new() -> Self
Sourcepub fn create_rect(
&self,
layer: &str,
purpose: &str,
bbox: &[(i64, i64); 2],
) -> String
pub fn create_rect( &self, layer: &str, purpose: &str, bbox: &[(i64, i64); 2], ) -> String
bbox: [(ll_x, ll_y), (ur_x, ur_y)] — lower-left and upper-right corners.
Formats to SKILL ?bBox ((ll_x ll_y) (ur_x ur_y)).
pub fn create_polygon( &self, layer: &str, purpose: &str, points: &[(i64, i64)], ) -> String
pub fn create_path( &self, layer: &str, purpose: &str, width: i64, points: &[(i64, i64)], ) -> String
pub fn create_via(&self, via_def: &str, origin: (i64, i64)) -> String
pub fn create_label( &self, layer: &str, _purpose: &str, text: &str, origin: (i64, i64), ) -> String
pub fn create_instance( &self, lib: &str, cell: &str, view: &str, origin: (i64, i64), orient: &str, ) -> String
pub fn set_active_lpp(&self, layer: &str, purpose: &str) -> String
pub fn fit_view(&self) -> String
pub fn read_summary(&self) -> String
pub fn read_geometry(&self, layer: &str, purpose: &str) -> String
pub fn delete_shapes_on_layer(&self, layer: &str, purpose: &str) -> String
pub fn highlight_net(&self, net_name: &str) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LayoutOps
impl RefUnwindSafe for LayoutOps
impl Send for LayoutOps
impl Sync for LayoutOps
impl Unpin for LayoutOps
impl UnsafeUnpin for LayoutOps
impl UnwindSafe for LayoutOps
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