[][src]Struct tydi::physical::SignalList

pub struct SignalList { /* fields omitted */ }

Signal list for the signals in a physical stream.

A signal list can be constructed from a PhysicalStream using the signal_list method or using the From/Into trait implementation.

Reference

Methods

impl SignalList[src]

pub fn valid(&self) -> Signal[src]

Returns the valid signal.

pub fn ready(&self) -> Signal[src]

Returns the ready signal.

pub fn data(&self) -> Option<Signal>[src]

Returns the data signal, if applicable for this PhysicalStream.

pub fn last(&self) -> Option<Signal>[src]

Returns the last signal, if applicable for this PhysicalStream.

pub fn stai(&self) -> Option<Signal>[src]

Returns the stai signal, if applicable for this PhysicalStream.

pub fn endi(&self) -> Option<Signal>[src]

Returns the endi signal, if applicable for this PhysicalStream.

pub fn strb(&self) -> Option<Signal>[src]

Returns the strb signal, if applicable for this PhysicalStream.

pub fn user(&self) -> Option<Signal>[src]

Returns the user signal, if applicable for this PhysicalStream.

pub fn opt_bit_count(&self) -> Option<NonNegative>[src]

Returns the bit count of all combined signals in this map.

pub fn bit_count(&self) -> NonNegative[src]

Returns the bit count of all combined signals in this map.

Trait Implementations

impl Clone for SignalList[src]

impl Copy for SignalList[src]

impl Debug for SignalList[src]

impl<'_> From<&'_ PhysicalStream> for SignalList[src]

impl From<PhysicalStream> for SignalList[src]

impl<'a> IntoIterator for &'a SignalList[src]

type Item = Signal

The type of the elements being iterated over.

type IntoIter = IntoIter<Self::Item>

Which kind of iterator are we turning this into?

impl PartialEq<SignalList> for SignalList[src]

impl StructuralPartialEq for SignalList[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.