pub struct Cell { /* private fields */ }Implementations§
Source§impl Cell
impl Cell
pub fn name(&self) -> &CellName
pub fn content_hash(&self) -> ContentHash
pub fn local_bbox(&self) -> Bbox
pub fn shapes_on(&self, layer: LayerIndex) -> impl Iterator<Item = &Shape>
pub fn layers(&self) -> impl Iterator<Item = LayerIndex> + '_
pub fn instances(&self) -> &[Instance]
pub fn ports(&self) -> &[Port]
pub fn port(&self, name: &str) -> Option<&Port>
pub fn properties(&self) -> &Properties
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnsafeUnpin for Cell
impl UnwindSafe for Cell
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