[−][src]Struct lrl_test_compiler::mission_control::Timestrip
Contains a vector of every section present in the TDF. The contained sections are serialized into JSON and used by mission control to display an overview of the test.
Fields
sections: Vec<TimestripSection>
Implementations
impl Timestrip
[src]
pub fn new() -> Self
[src]
pub fn new_section(
&mut self,
title: &str,
start_time: u128,
end_time: u128,
depth: u32
)
[src]
&mut self,
title: &str,
start_time: u128,
end_time: u128,
depth: u32
)
Create a new timestrip section maps the provided depth value into the TIMESTRIP_COLORS array
fn create_sections(
&mut self,
statements: &[Statement],
time_offset: u128,
depth: u32
) -> CompilerResult<()>
[src]
&mut self,
statements: &[Statement],
time_offset: u128,
depth: u32
) -> CompilerResult<()>
Recursively add all sections in the test to this timestrip
Trait Implementations
impl Clone for Timestrip
[src]
impl<'de> Deserialize<'de> for Timestrip
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Timestrip
[src]
Auto Trait Implementations
impl RefUnwindSafe for Timestrip
impl Send for Timestrip
impl Sync for Timestrip
impl Unpin for Timestrip
impl UnwindSafe for Timestrip
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
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>,