[][src]Enum ovrt_sys::consts::Setting

#[repr(i32)]pub enum Setting {
    Size,
    Opacity,
    Curvature,
    Framerate,
    EcoMode,
    LookHiding,
    AttachedDevice,
}

Represents kinds of setting values.

See also: types::SettingValue.

Variants

Size

(Width in meters) (f64).

Opacity

(f64).

Curvature

(f64).

Framerate

(i32).

EcoMode

(bool).

LookHiding

(bool).

AttachedDevice

(i32).

Implementations

impl Setting[src]

pub fn with(&self, value: Value) -> Option<SettingValue>[src]

Trait Implementations

impl Clone for Setting[src]

impl Debug for Setting[src]

impl<'de> Deserialize<'de> for Setting[src]

impl Eq for Setting[src]

impl<'_> From<&'_ SettingValue> for Setting[src]

impl FromWasmAbi for Setting[src]

type Abi = u32

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl Hash for Setting[src]

impl IntoWasmAbi for Setting[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl OptionFromWasmAbi for Setting[src]

impl OptionIntoWasmAbi for Setting[src]

impl Ord for Setting[src]

impl PartialEq<Setting> for Setting[src]

impl PartialOrd<Setting> for Setting[src]

impl Serialize for Setting[src]

impl StructuralEq for Setting[src]

impl StructuralPartialEq for Setting[src]

impl WasmDescribe 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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.