Struct libreda_db::chip::Circuit
source · [−]pub struct Circuit<C = Coord, U = ()> where
C: CoordinateType,
U: Default, { /* private fields */ }Expand description
A circuit is defined by an interface (pins) and a content which consists of interconnected circuit instances.
Template parameters:
U: User defined data.
Trait Implementations
Auto Trait Implementations
impl<C, U> RefUnwindSafe for Circuit<C, U> where
C: RefUnwindSafe,
U: RefUnwindSafe,
impl<C, U> Send for Circuit<C, U> where
C: Send,
U: Send,
impl<C, U> Sync for Circuit<C, U> where
C: Sync,
U: Sync,
impl<C, U> Unpin for Circuit<C, U> where
C: Unpin,
U: Unpin,
impl<C, U> UnwindSafe for Circuit<C, U> where
C: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more