[−][src]Struct lrl_test_compiler::test_binary::segments::TestBody
The main body of the Test
Fields
segments: Vec<Segment>
The Instruction Segments that make up the test body
Implementations
impl TestBody
[src]
pub fn new() -> Self
[src]
Creates a new empty test body, with no Instruction Segments
fn append_header_to_buffer(&self, buffer: &mut BitWriter)
[src]
pub fn append_to_buffer(&self, buffer: &mut BitWriter)
[src]
Appends the entire contents of this TestBody to a BitWriter
pub fn append_assembly_to_string(
&self,
lines: &mut String
) -> CompilerResult<()>
[src]
&self,
lines: &mut String
) -> CompilerResult<()>
Format TestBody for TAF output
const HEADER_LEN: u32
[src]
pub fn len(&self) -> u32
[src]
Computes the number of bytes that the test body will take up after serialization
Auto Trait Implementations
impl RefUnwindSafe for TestBody
impl Send for TestBody
impl Sync for TestBody
impl Unpin for TestBody
impl UnwindSafe for TestBody
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>,