pub struct Demux4Way { /* private fields */ }
Expand description

4-way demultiplexor

Implementations

Carries out the simulation and returns

if sel == 0 { [inp,  0,  0,  0] }
if sel == 1 { [  0,inp,  0,  0] }
if sel == 2 { [  0,  0,inp,  0] }
if sel == 3 { [  0,  0,  0,inp] }

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.