[][src]Struct lrl_test_compiler::test_binary::Abort

pub struct Abort {
    pub name: Option<String>,
    pub segments: Vec<Segment>,
}

An Abort Sequence.

Fields

name: Option<String>

The name of the abort

segments: Vec<Segment>

The Instruction Segments that make up the abort.

Implementations

impl Abort[src]

pub fn new() -> Self[src]

Creates a new empty abort, with no Instruction Segments

pub fn not_empty(&self) -> bool[src]

fn append_header_to_buffer(&self, abort_idx: u8, buffer: &mut BitWriter)[src]

pub fn append_assembly_to_string(
    &self,
    lines: &mut String,
    abort_idx: u32
) -> CompilerResult<()>
[src]

Format Abort contents for TAF output

pub fn append_to_buffer(&self, abort_idx: u8, buffer: &mut BitWriter)[src]

Appends the entire contents of this Abort to a BitWriter

const HEADER_LEN: u32[src]

pub fn len(&self) -> u32[src]

Computes the number of bytes that this abort will take up after serialization

Auto Trait Implementations

impl RefUnwindSafe for Abort

impl Send for Abort

impl Sync for Abort

impl Unpin for Abort

impl UnwindSafe for Abort

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]