Enum rtlola_frontend::mir::StreamReference [−][src]
Expand description
Allows for referencing a stream within the specification.
Variants
In(usize)
References an input stream.
Out(usize)
References an output stream.
Implementations
Returns the index inside the reference if it is an output reference. Panics otherwise.
Returns the index inside the reference if it is an input reference. Panics otherwise.
Returns the index inside the reference disregarding whether it is an input or output reference.
True if the reference is an instance of StreamReference::In, false otherwise.
True if the reference is an instance of StreamReference::Out, false otherwise.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for StreamReference
impl Send for StreamReference
impl Sync for StreamReference
impl Unpin for StreamReference
impl UnwindSafe for StreamReference
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
type Output = T
type Output = T
Should always be Self