pub struct Wire {
pub row: usize,
pub col: usize,
}
Expand description
Wire documents the other cell that is wired to this one. If the cell represents an internal wire, an input to the circuit, or a final output of the circuit, the cell references itself.
Fields§
§row: usize
§col: usize
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Wire
impl<'de> Deserialize<'de> for Wire
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromWasmAbi for Wire
impl FromWasmAbi for Wire
source§impl IntoWasmAbi for Wire
impl IntoWasmAbi for Wire
source§impl LongRefFromWasmAbi for Wire
impl LongRefFromWasmAbi for Wire
source§impl OptionFromWasmAbi for Wire
impl OptionFromWasmAbi for Wire
source§impl OptionIntoWasmAbi for Wire
impl OptionIntoWasmAbi for Wire
source§impl PartialEq<Wire> for Wire
impl PartialEq<Wire> for Wire
source§impl RefFromWasmAbi for Wire
impl RefFromWasmAbi for Wire
source§impl RefMutFromWasmAbi for Wire
impl RefMutFromWasmAbi for Wire
source§impl TryFromJsValue for Wire
impl TryFromJsValue for Wire
source§impl VectorFromWasmAbi for Wire
impl VectorFromWasmAbi for Wire
source§impl VectorIntoWasmAbi for Wire
impl VectorIntoWasmAbi for Wire
impl Copy for Wire
impl Eq for Wire
impl StructuralEq for Wire
impl StructuralPartialEq for Wire
Auto Trait Implementations§
impl RefUnwindSafe for Wire
impl Send for Wire
impl Sync for Wire
impl Unpin for Wire
impl UnwindSafe for Wire
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.