Struct acs::logic::xor::Xor

source · []
pub struct Xor { /* private fields */ }
Expand description

The XOR gate is built using a NAND, an OR, and an AND gate

about
000
011
101
110

Implementations

Carries out the simulation and returns a XOR b

Trait Implementations

Returns the “default value” for a type. Read more
Evaluates the logic expression as we do with arithmetic without advancing the time. Read more
Carries out the tick-phase of a clock cycle: LOW
Carries out the tock-phase of a clock cycle: HIGH

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.