Struct libreda_db::layout::cell_instance::CellInstance[][src]

pub struct CellInstance<C: CoordinateType> { /* fields omitted */ }

An actual instance of a cell.

Implementations

impl<C: CoordinateType> CellInstance<C>[src]

pub fn id(&self) -> CellInstId[src]

Get the ID of this cell instance.

pub fn cell(&self) -> Weak<Cell<C>>[src]

Get reference to the template cell.

pub fn cell_id(&self) -> CellIndex[src]

Get ID of the template cell.

pub fn parent_cell(&self) -> Weak<Cell<C>>[src]

Get reference to the cell where this instance lives in.

pub fn get_transform(&self) -> SimpleTransform<C>[src]

Get the transformation describing the location, orientation and magnification of this cell instance.

Trait Implementations

impl<C: Clone + CoordinateType> Clone for CellInstance<C>[src]

impl<C: Debug + CoordinateType> Debug for CellInstance<C>[src]

impl<C: CoordinateType> Eq for CellInstance<C>[src]

impl<C: CoordinateType> Hash for CellInstance<C>[src]

impl<C: CoordinateType> PartialEq<CellInstance<C>> for CellInstance<C>[src]

impl<C: CoordinateType> WithProperties for CellInstance<C>[src]

type Key = String

Property key type.

Auto Trait Implementations

impl<C> !RefUnwindSafe for CellInstance<C>

impl<C> !Send for CellInstance<C>

impl<C> !Sync for CellInstance<C>

impl<C> Unpin for CellInstance<C> where
    C: Unpin

impl<C> !UnwindSafe for CellInstance<C>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> TextType for T where
    T: Clone + Eq + Debug + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.