[][src]Struct lrl_test_compiler::test_builder::IntervalBuilder

pub struct IntervalBuilder<'a> {
    pub test_builder: &'a mut TestBuilder,
    pub stream_id: &'a StreamId<'a>,
    pub start: u128,
    pub end: u128,
}

Builder for a single instruction over an interval of relative time

Fields

test_builder: &'a mut TestBuilderstream_id: &'a StreamId<'a>start: u128end: u128

Implementations

impl<'a> IntervalBuilder<'a>[src]

pub fn new(
    test_builder: &'a mut TestBuilder,
    stream_id: &'a StreamId<'_>,
    start: u128,
    end: u128
) -> Self
[src]

pub fn require(
    self,
    sensor_name: &str,
    left_bound: f64,
    right_bound: f64,
    abort_name: &str
)
[src]

Require a sensor over this interval

Auto Trait Implementations

impl<'a> RefUnwindSafe for IntervalBuilder<'a>

impl<'a> Send for IntervalBuilder<'a>

impl<'a> Sync for IntervalBuilder<'a>

impl<'a> Unpin for IntervalBuilder<'a>

impl<'a> !UnwindSafe for IntervalBuilder<'a>

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<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

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

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]