Struct scs_sdk_rs::scs_input_device_input_t
source · #[repr(C)]pub struct scs_input_device_input_t {
pub name: scs_string_t,
pub display_name: scs_string_t,
pub value_type: scs_value_type_t,
pub _padding: scs_u32_t,
}Expand description
@brief Information about a single input of the input device.
Fields§
§name: scs_string_t@brief Name of this input used in the configuration file
This string can contain only the following characters: @li lower-cased english letters @li digits @li underscore
display_name: scs_string_t@brief Name of the input shown to the user.
Currently only the following characters are allowed: @li English letters @li digits @li underscore @li space @li dot
value_type: scs_value_type_t@brief Type of the value provided by this input.
Only the following value types are supported: @li SCS_VALUE_TYPE_bool @li SCS_VALUE_TYPE_float
_padding: scs_u32_t@brief Explicit 8-byte alignment for structure size.
Trait Implementations§
source§impl Clone for scs_input_device_input_t
impl Clone for scs_input_device_input_t
source§fn clone(&self) -> scs_input_device_input_t
fn clone(&self) -> scs_input_device_input_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for scs_input_device_input_t
impl Debug for scs_input_device_input_t
impl Copy for scs_input_device_input_t
Auto Trait Implementations§
impl RefUnwindSafe for scs_input_device_input_t
impl !Send for scs_input_device_input_t
impl !Sync for scs_input_device_input_t
impl Unpin for scs_input_device_input_t
impl UnwindSafe for scs_input_device_input_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more