Struct cranelift_reader::TestCommand
source · pub struct TestCommand<'a> {
pub command: &'a str,
pub options: Vec<TestOption<'a>>,
}
Expand description
A command appearing in a test file.
Fields
command: &'a str
The command name as a string.
options: Vec<TestOption<'a>>
The options following the command name.
Implementations
sourceimpl<'a> TestCommand<'a>
impl<'a> TestCommand<'a>
Trait Implementations
sourceimpl<'a> Clone for TestCommand<'a>
impl<'a> Clone for TestCommand<'a>
sourcefn clone(&self) -> TestCommand<'a>
fn clone(&self) -> TestCommand<'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 TestCommand<'a>
impl<'a> Debug for TestCommand<'a>
sourceimpl<'a> Display for TestCommand<'a>
impl<'a> Display for TestCommand<'a>
sourceimpl<'a> PartialEq<TestCommand<'a>> for TestCommand<'a>
impl<'a> PartialEq<TestCommand<'a>> for TestCommand<'a>
sourcefn eq(&self, other: &TestCommand<'a>) -> bool
fn eq(&self, other: &TestCommand<'a>) -> bool
impl<'a> Eq for TestCommand<'a>
impl<'a> StructuralEq for TestCommand<'a>
impl<'a> StructuralPartialEq for TestCommand<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TestCommand<'a>
impl<'a> Send for TestCommand<'a>
impl<'a> Sync for TestCommand<'a>
impl<'a> Unpin for TestCommand<'a>
impl<'a> UnwindSafe for TestCommand<'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