[][src]Struct cranelift_reader::ParseOptions

pub struct ParseOptions<'a> {
    pub passes: Option<&'a [String]>,
    pub target: Option<&'a str>,
    pub default_calling_convention: CallConv,
}

Options for configuring the parsing of filetests.

Fields

passes: Option<&'a [String]>

Compiler passes to run on the parsed functions.

target: Option<&'a str>

Target ISA for compiling the parsed functions, e.g. "x86_64 skylake".

default_calling_convention: CallConv

Default calling convention used when none is specified for a parsed function.

Trait Implementations

impl<'_> Default for ParseOptions<'_>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ParseOptions<'a>

impl<'a> Send for ParseOptions<'a>

impl<'a> Sync for ParseOptions<'a>

impl<'a> Unpin for ParseOptions<'a>

impl<'a> UnwindSafe for ParseOptions<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.