pub enum SignalType {
Input {
default: InputValue,
},
Output,
Bidirectional {
default: InputValue,
},
Virtual {
expr: VirtualExpr,
},
}Expand description
Represents the direction of a signal
The direction is specified relative to the device under test, which means that an Input signal is an output from the test
which is sent to an input port of the DUT. Input and Bidirectional signals specify a default value which is used if the
test itself does not override it.
Variants§
Input
Fields
§
default: InputValueOutput
Bidirectional
Fields
§
default: InputValueVirtual
Fields
§
expr: VirtualExprTrait Implementations§
Source§impl Clone for SignalType
impl Clone for SignalType
Source§fn clone(&self) -> SignalType
fn clone(&self) -> SignalType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignalType
impl Debug for SignalType
Source§impl PartialEq for SignalType
impl PartialEq for SignalType
impl Eq for SignalType
impl StructuralPartialEq for SignalType
Auto Trait Implementations§
impl Freeze for SignalType
impl RefUnwindSafe for SignalType
impl Send for SignalType
impl Sync for SignalType
impl Unpin for SignalType
impl UnwindSafe for SignalType
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