[][src]Struct openvr_sys::VR_IVRSettings_FnTable

#[repr(C)]
pub struct VR_IVRSettings_FnTable {
    pub GetSettingsErrorNameFromEnum: Option<unsafe extern "C" fn(eError: EVRSettingsError) -> *mut c_char>,
    pub Sync: Option<unsafe extern "C" fn(bForce: bool, peError: *mut EVRSettingsError) -> bool>,
    pub SetBool: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, bValue: bool, peError: *mut EVRSettingsError)>,
    pub SetInt32: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, nValue: i32, peError: *mut EVRSettingsError)>,
    pub SetFloat: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, flValue: f32, peError: *mut EVRSettingsError)>,
    pub SetString: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, pchValue: *mut c_char, peError: *mut EVRSettingsError)>,
    pub GetBool: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, peError: *mut EVRSettingsError) -> bool>,
    pub GetInt32: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, peError: *mut EVRSettingsError) -> i32>,
    pub GetFloat: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, peError: *mut EVRSettingsError) -> f32>,
    pub GetString: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, pchValue: *mut c_char, unValueLen: u32, peError: *mut EVRSettingsError)>,
    pub RemoveSection: Option<unsafe extern "C" fn(pchSection: *mut c_char, peError: *mut EVRSettingsError)>,
    pub RemoveKeyInSection: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, peError: *mut EVRSettingsError)>,
}

Fields

GetSettingsErrorNameFromEnum: Option<unsafe extern "C" fn(eError: EVRSettingsError) -> *mut c_char>Sync: Option<unsafe extern "C" fn(bForce: bool, peError: *mut EVRSettingsError) -> bool>SetBool: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, bValue: bool, peError: *mut EVRSettingsError)>SetInt32: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, nValue: i32, peError: *mut EVRSettingsError)>SetFloat: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, flValue: f32, peError: *mut EVRSettingsError)>SetString: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, pchValue: *mut c_char, peError: *mut EVRSettingsError)>GetBool: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, peError: *mut EVRSettingsError) -> bool>GetInt32: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, peError: *mut EVRSettingsError) -> i32>GetFloat: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, peError: *mut EVRSettingsError) -> f32>GetString: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, pchValue: *mut c_char, unValueLen: u32, peError: *mut EVRSettingsError)>RemoveSection: Option<unsafe extern "C" fn(pchSection: *mut c_char, peError: *mut EVRSettingsError)>RemoveKeyInSection: Option<unsafe extern "C" fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, peError: *mut EVRSettingsError)>

Trait Implementations

impl Copy for VR_IVRSettings_FnTable[src]

impl Clone for VR_IVRSettings_FnTable[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for VR_IVRSettings_FnTable[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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