[−][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]
fn eq(&self, other: &RelaysTimeline) -> bool
[src]
fn ne(&self, other: &RelaysTimeline) -> bool
[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,
pub 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<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]
Dst: LosslessTryFrom<Src>,
pub fn lossless_try_into(self) -> Option<Dst>
[src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]
Dst: LossyFrom<Src>,
pub fn lossy_into(self) -> Dst
[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>,
type Error = Infallible
The type returned in the event of a conversion error.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,