Enum wavedrom::CycleState

source ·
pub enum CycleState {
Show 25 variants Top, Bottom, Middle, Box2, Box3, Box4, Box5, Box6, Box7, Box8, Box9, Data, X, PosedgeClockUnmarked, PosedgeClockMarked, NegedgeClockUnmarked, NegedgeClockMarked, Continue, Gap, Up, Down, HighUnmarked, HighMarked, LowUnmarked, LowMarked,
}
Expand description

A state that a signal can be at any cycle

Variants§

§

Top

Logical 1

§

Bottom

Logical 0

§

Middle

High-Impedance

§

Box2

Boxed State Type 2. Can contain marker text

§

Box3

Boxed State Type 3. Can contain marker text

§

Box4

Boxed State Type 4. Can contain marker text

§

Box5

Boxed State Type 5. Can contain marker text

§

Box6

Boxed State Type 6. Can contain marker text

§

Box7

Boxed State Type 7. Can contain marker text

§

Box8

Boxed State Type 8. Can contain marker text

§

Box9

Boxed State Type 9. Can contain marker text

§

Data

Data State. Can contain marker text

§

X

Undefined State

§

PosedgeClockUnmarked

Positive Edge Clock without a clock edge marker

§

PosedgeClockMarked

Positive Edge Clock with a clock edge marker

§

NegedgeClockUnmarked

Negative Edge Clock without a clock edge marker

§

NegedgeClockMarked

Negative Edge Clock with a clock edge marker

§

Continue

Continue the previous state

§

Gap

Continue the previous state and insert a gap.

§

Up

Dashed up

§

Down

Dashed down

§

HighUnmarked

Clock high signal without transition clock edge marker

§

HighMarked

Clock high signal with transition clock edge marker

§

LowUnmarked

Clock low signal without transition clock edge marker

§

LowMarked

Clock low signal with transition clock edge marker

Trait Implementations§

source§

impl Clone for CycleState

source§

fn clone(&self) -> CycleState

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CycleState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<char> for CycleState

source§

fn from(value: char) -> Self

Converts to this type from the input type.
source§

impl PartialEq<CycleState> for CycleState

source§

fn eq(&self, other: &CycleState) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for CycleState

source§

impl Eq for CycleState

source§

impl StructuralEq for CycleState

source§

impl StructuralPartialEq for CycleState

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.