[−][src]Struct tydi::logical::Stream
Methods
impl Stream
[src]
pub fn new(
data: LogicalStreamType,
throughput: PositiveReal,
dimensionality: NonNegative,
synchronicity: Synchronicity,
complexity: impl Into<Complexity>,
direction: Direction,
user: Option<LogicalStreamType>,
keep: bool
) -> Self
[src]
data: LogicalStreamType,
throughput: PositiveReal,
dimensionality: NonNegative,
synchronicity: Synchronicity,
complexity: impl Into<Complexity>,
direction: Direction,
user: Option<LogicalStreamType>,
keep: bool
) -> Self
pub fn new_basic(data: LogicalStreamType) -> Self
[src]
pub fn data(&self) -> &LogicalStreamType
[src]
pub fn direction(&self) -> Direction
[src]
Returns the direction of this stream.
pub fn synchronicity(&self) -> Synchronicity
[src]
Returns the synchronicity of this stream.
pub fn dimensionality(&self) -> NonNegative
[src]
Returns the dimensionality of this stream.
pub fn throughput(&self) -> PositiveReal
[src]
Returns the throughput ratio of this stream.
pub fn is_null(&self) -> bool
[src]
Returns true if this stream is null i.e. it results in no signals.
Trait Implementations
impl Clone for Stream
[src]
impl Debug for Stream
[src]
impl From<Stream> for LogicalStreamType
[src]
fn from(stream: Stream) -> Self
[src]
Wraps this stream in a LogicalStreamType
.
impl PartialEq<Stream> for Stream
[src]
impl Reverse for Stream
[src]
fn reverse(&mut self)
[src]
Reverse the direction of this stream.
This flips the Direction
of the stream.
impl StructuralPartialEq for Stream
[src]
impl Typify for Stream
[src]
fn user(&self, prefix: impl Into<String>) -> Option<Type>
[src]
This implementation for Stream assumes the parent LogicalStreamType has already been flattened through synthesize.
fn canonical(&self, prefix: impl Into<String>) -> Vec<Signal>
[src]
This implementation for Stream assumes the parent LogicalStreamType has already been flattened through synthesize.
Auto Trait Implementations
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,