[][src]Struct cranelift_reader::TestCommand

pub struct TestCommand<'a> {
    pub command: &'a str,
    pub options: Vec<TestOption<'a>>,
}

A command appearing in a test file.

Fields

command: &'a str

The command name as a string.

options: Vec<TestOption<'a>>

The options following the command name.

Methods

impl<'a> TestCommand<'a>[src]

pub fn new(s: &'a str) -> Self[src]

Create a new TestCommand by parsing s. The returned command contains references into s.

Trait Implementations

impl<'a> Eq for TestCommand<'a>[src]

impl<'a> PartialEq<TestCommand<'a>> for TestCommand<'a>[src]

impl<'a> Clone for TestCommand<'a>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for TestCommand<'a>[src]

impl<'a> Display for TestCommand<'a>[src]

Auto Trait Implementations

impl<'a> Send for TestCommand<'a>

impl<'a> Sync for TestCommand<'a>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.