Enum cranelift_reader::TestOption[][src]

pub enum TestOption<'a> {
    Flag(&'a str),
    Value(&'a str, &'a str),
}

An option on a test command.

Variants

Single identifier flag: foo.

A value assigned to an identifier: foo=bar.

Methods

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

Create a new TestOption by parsing s. The returned option contains references into s.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for TestOption<'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 TestOption<'a>
[src]

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

Formats the value using the given formatter. Read more

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for TestOption<'a>

impl<'a> Sync for TestOption<'a>