pub struct CellBuilder { /* private fields */ }Implementations§
Source§impl CellBuilder
impl CellBuilder
pub fn new(name: impl Into<CellName>) -> Self
pub fn name(&self) -> &CellName
pub fn set_name(&mut self, name: impl Into<CellName>)
pub fn add_shape(&mut self, layer: LayerIndex, shape: impl Into<Shape>)
pub fn add_instance(&mut self, inst: Instance)
pub fn instantiate(&mut self, cell: CellId, trans: Trans)
pub fn add_port(&mut self, port: Port)
pub fn set_property(&mut self, key: impl Into<SmolStr>, value: PropertyValue)
pub fn properties_mut(&mut self) -> &mut Properties
pub fn freeze(self, lib: &Library) -> Cell
Trait Implementations§
Source§impl Clone for CellBuilder
impl Clone for CellBuilder
Source§fn clone(&self) -> CellBuilder
fn clone(&self) -> CellBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CellBuilder
impl RefUnwindSafe for CellBuilder
impl Send for CellBuilder
impl Sync for CellBuilder
impl Unpin for CellBuilder
impl UnsafeUnpin for CellBuilder
impl UnwindSafe for CellBuilder
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