Struct openvr_sys::VR_IVRSettings_FnTable [] [src]

pub struct VR_IVRSettings_FnTable {
    pub GetSettingsErrorNameFromEnum: Option<extern fn(eError: EVRSettingsError) -> *mut c_char>,
    pub Sync: Option<unsafe extern fn(bForce: c_int, peError: *mut EVRSettingsError) -> c_int>,
    pub GetBool: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, bDefaultValue: c_int, peError: *mut EVRSettingsError) -> c_int>,
    pub SetBool: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, bValue: c_int, peError: *mut EVRSettingsError)>,
    pub GetInt32: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, nDefaultValue: int32_t, peError: *mut EVRSettingsError) -> int32_t>,
    pub SetInt32: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, nValue: int32_t, peError: *mut EVRSettingsError)>,
    pub GetFloat: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, flDefaultValue: c_float, peError: *mut EVRSettingsError) -> c_float>,
    pub SetFloat: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, flValue: c_float, peError: *mut EVRSettingsError)>,
    pub GetString: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, pchValue: *mut c_char, unValueLen: uint32_t, pchDefaultValue: *mut c_char, peError: *mut EVRSettingsError)>,
    pub SetString: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, pchValue: *mut c_char, peError: *mut EVRSettingsError)>,
    pub RemoveSection: Option<unsafe extern fn(pchSection: *mut c_char, peError: *mut EVRSettingsError)>,
    pub RemoveKeyInSection: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, peError: *mut EVRSettingsError)>,
}

Fields

GetSettingsErrorNameFromEnum: Option<extern fn(eError: EVRSettingsError) -> *mut c_char> Sync: Option<unsafe extern fn(bForce: c_int, peError: *mut EVRSettingsError) -> c_int> GetBool: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, bDefaultValue: c_int, peError: *mut EVRSettingsError) -> c_int> SetBool: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, bValue: c_int, peError: *mut EVRSettingsError)> GetInt32: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, nDefaultValue: int32_t, peError: *mut EVRSettingsError) -> int32_t> SetInt32: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, nValue: int32_t, peError: *mut EVRSettingsError)> GetFloat: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, flDefaultValue: c_float, peError: *mut EVRSettingsError) -> c_float> SetFloat: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, flValue: c_float, peError: *mut EVRSettingsError)> GetString: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, pchValue: *mut c_char, unValueLen: uint32_t, pchDefaultValue: *mut c_char, peError: *mut EVRSettingsError)> SetString: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, pchValue: *mut c_char, peError: *mut EVRSettingsError)> RemoveSection: Option<unsafe extern fn(pchSection: *mut c_char, peError: *mut EVRSettingsError)> RemoveKeyInSection: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, peError: *mut EVRSettingsError)>

Trait Implementations

impl Clone for VR_IVRSettings_FnTable
[src]

fn clone(&self) -> VR_IVRSettings_FnTable

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for VR_IVRSettings_FnTable
[src]

impl Debug for VR_IVRSettings_FnTable
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for VR_IVRSettings_FnTable
[src]

fn default() -> Self

Returns the "default value" for a type. Read more