[−][src]Enum cranelift_reader::TestOption
An option on a test command.
Variants
Flag(&'a str)
Single identifier flag: foo
.
A value assigned to an identifier: foo=bar
.
Methods
impl<'a> TestOption<'a>
[src]
pub fn new(s: &'a str) -> Self
[src]
Create a new TestOption by parsing s
.
The returned option contains references into s
.
Trait Implementations
impl<'a> Clone for TestOption<'a>
[src]
fn clone(&self) -> TestOption<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for TestOption<'a>
[src]
impl<'a> Display for TestOption<'a>
[src]
impl<'a> Eq for TestOption<'a>
[src]
impl<'a> PartialEq<TestOption<'a>> for TestOption<'a>
[src]
fn eq(&self, other: &TestOption<'a>) -> bool
[src]
fn ne(&self, other: &TestOption<'a>) -> bool
[src]
impl<'a> StructuralEq for TestOption<'a>
[src]
impl<'a> StructuralPartialEq for TestOption<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for TestOption<'a>
impl<'a> Send for TestOption<'a>
impl<'a> Sync for TestOption<'a>
impl<'a> Unpin for TestOption<'a>
impl<'a> UnwindSafe for TestOption<'a>
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,
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<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
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>,