Struct wasmtime_environ::settings::Setting[][src]

pub struct Setting {
    pub name: &'static str,
    pub description: &'static str,
    pub kind: SettingKind,
    pub values: Option<&'static [&'static str]>,
}

Represents an available builder setting.

This is used for iterating settings in a builder.

Fields

name: &'static str

The name of the setting.

description: &'static str

The description of the setting.

kind: SettingKind

The kind of the setting.

values: Option<&'static [&'static str]>

The supported values of the setting (for enum values).

Trait Implementations

impl Clone for Setting[src]

impl Copy for Setting[src]

impl Debug for Setting[src]

Auto Trait Implementations

impl RefUnwindSafe for Setting

impl Send for Setting

impl Sync for Setting

impl Unpin for Setting

impl UnwindSafe for Setting

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.