Struct cranelift_reader::TestCommand[][src]

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

A command appearing in a test file.

Fields

The command name as a string.

The options following the command name.

Methods

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

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

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

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

Formats the value using the given formatter. Read more

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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