Struct openvr_sys::Struct_VR_IVRSettings_FnTable [] [src]

pub struct Struct_VR_IVRSettings_FnTable {
    pub GetSettingsErrorNameFromEnum: Option<extern fn(eError: EVRSettingsError) -> *mut c_char>,
    pub Sync: Option<unsafe extern fn(bForce: u8, peError: *mut EVRSettingsError) -> u8>,
    pub GetBool: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, bDefaultValue: u8, peError: *mut EVRSettingsError) -> u8>,
    pub SetBool: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, bValue: u8, 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: u8, peError: *mut EVRSettingsError) -> u8> GetBool: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, bDefaultValue: u8, peError: *mut EVRSettingsError) -> u8> SetBool: Option<unsafe extern fn(pchSection: *mut c_char, pchSettingsKey: *mut c_char, bValue: u8, 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 Copy for Struct_VR_IVRSettings_FnTable
[src]

impl Clone for Struct_VR_IVRSettings_FnTable
[src]

fn clone(&self) -> Self

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 Default for Struct_VR_IVRSettings_FnTable
[src]

fn default() -> Self

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