pub struct CellInstRef<H: HierarchyBase> { /* private fields */ }
Expand description
Default implementation for CellInstRef
.
This is just a wrapper around a netlist and a cell ID.
Implementations§
Source§impl<H: HierarchyBase> CellInstRef<H>
impl<H: HierarchyBase> CellInstRef<H>
Sourcepub fn base(&self) -> &RwRefAccess<H>
pub fn base(&self) -> &RwRefAccess<H>
Access the base structure.
Sourcepub fn id(&self) -> H::CellInstId
pub fn id(&self) -> H::CellInstId
Get the ID of this cell instance.
Sourcepub fn template_id(&self) -> H::CellId
pub fn template_id(&self) -> H::CellId
Get the ID of the template cell of this instance.
Trait Implementations§
Source§impl<H: Clone + HierarchyBase> Clone for CellInstRef<H>where
H::CellInstId: Clone,
impl<H: Clone + HierarchyBase> Clone for CellInstRef<H>where
H::CellInstId: Clone,
Source§fn clone(&self) -> CellInstRef<H>
fn clone(&self) -> CellInstRef<H>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<H: Hash + HierarchyBase> Hash for CellInstRef<H>where
H::CellInstId: Hash,
impl<H: Hash + HierarchyBase> Hash for CellInstRef<H>where
H::CellInstId: Hash,
Source§impl<T: HierarchyBase> PartialEq for CellInstRef<T>
impl<T: HierarchyBase> PartialEq for CellInstRef<T>
impl<T: HierarchyBase> Eq for CellInstRef<T>
Auto Trait Implementations§
impl<H> Freeze for CellInstRef<H>
impl<H> RefUnwindSafe for CellInstRef<H>
impl<H> Send for CellInstRef<H>
impl<H> Sync for CellInstRef<H>
impl<H> Unpin for CellInstRef<H>
impl<H> UnwindSafe for CellInstRef<H>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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