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§
Trait Implementations§
source§impl<'a> Clone for TestOption<'a>
impl<'a> Clone for TestOption<'a>
source§fn clone(&self) -> TestOption<'a>
fn clone(&self) -> TestOption<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for TestOption<'a>
impl<'a> Debug for TestOption<'a>
source§impl<'a> Display for TestOption<'a>
impl<'a> Display for TestOption<'a>
source§impl<'a> PartialEq<TestOption<'a>> for TestOption<'a>
impl<'a> PartialEq<TestOption<'a>> for TestOption<'a>
source§fn 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§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.