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: usizeImplementations§
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 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 StructuralPartialEq for Wire
Auto Trait Implementations§
impl Freeze for Wire
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§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,
Source§type Abi = <T as IntoWasmAbi>::Abi
 
type Abi = <T as IntoWasmAbi>::Abi
Same as 
IntoWasmAbi::AbiSource§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.