[−][src]Struct lrl_test_compiler::timeline::relays::RelaysTimeline
Timeline of all relay operations over the whole test
endpoints vector gives time for specific relay operations
endpoints[0]
is the time for all relay statements in operations[0]
Fields
endpoints: Vec<u32>
Times of relay operations
operations: Vec<Vec<RelayStatement>>
Implementations
impl RelaysTimeline
[src][−]
pub fn new() -> Self
[src]
pub fn add_relay_statement(
&mut self,
statement: &RelayStatement
) -> CompilerResult<()>
[src][−]
&mut self,
statement: &RelayStatement
) -> CompilerResult<()>
Adds relay operation from relay statement into relay timeline and inserts any necessary endpoint
pub fn validate(&self, concrete: &ConcreteTest) -> CompilerResult<()>
[src][−]
Ensure relay timeline satisfies all design requirements such as all relays must be unset at end of test
pub fn to_instrs(
&self,
concrete: &ConcreteTest
) -> CompilerResult<Vec<(u32, RelayInstr)>>
[src]
&self,
concrete: &ConcreteTest
) -> CompilerResult<Vec<(u32, RelayInstr)>>
Trait Implementations
impl Debug for RelaysTimeline
[src][+]
impl PartialEq<RelaysTimeline> for RelaysTimeline
[src][+]
impl StructuralPartialEq for RelaysTimeline
[src]
Auto Trait Implementations
impl RefUnwindSafe for RelaysTimeline
impl Send for RelaysTimeline
impl Sync for RelaysTimeline
impl Unpin for RelaysTimeline
impl UnwindSafe for RelaysTimeline
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,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src][+]
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src][+]
Dst: LossyFrom<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][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,