Enum cranelift_reader::TestOption
source · Expand description
An option on a test command.
Variants
Flag(&'a str)
Single identifier flag: foo
.
Value(&'a str, &'a str)
A value assigned to an identifier: foo=bar
.
Implementations
sourceimpl<'a> TestOption<'a>
impl<'a> TestOption<'a>
Trait Implementations
sourceimpl<'a> Clone for TestOption<'a>
impl<'a> Clone for TestOption<'a>
sourcefn clone(&self) -> TestOption<'a>
fn clone(&self) -> TestOption<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for TestOption<'a>
impl<'a> Debug for TestOption<'a>
sourceimpl<'a> Display for TestOption<'a>
impl<'a> Display for TestOption<'a>
sourceimpl<'a> PartialEq<TestOption<'a>> for TestOption<'a>
impl<'a> PartialEq<TestOption<'a>> for TestOption<'a>
sourcefn eq(&self, other: &TestOption<'a>) -> bool
fn eq(&self, other: &TestOption<'a>) -> bool
impl<'a> Eq for TestOption<'a>
impl<'a> StructuralEq for TestOption<'a>
impl<'a> StructuralPartialEq for TestOption<'a>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more