#[repr(C)]pub struct scs_telemetry_configuration_t {
pub id: scs_string_t,
pub attributes: *const scs_named_value_t,
}Expand description
@brief Parameters for the SCS_TELEMETRY_EVENT_configuration event callback.
Fields§
§id: scs_string_t@brief Set of logically grouped configuration parameters this event describes (e.g. truck configuration, trailer configuration).
See SCS_TELEMETRY_CONFIGURATION_ID_* constants for the game in question.
This pointer will be never NULL.
attributes: *const scs_named_value_t@brief Array of individual attributes.
The array is terminated by entry whose name pointer is set to NULL.
Names of the attributes are the SCS_TELEMETRY_CONFIG_ATTRIBUTE_* constants for the game in question.
This pointer will be never NULL.
Trait Implementations§
source§impl Clone for scs_telemetry_configuration_t
impl Clone for scs_telemetry_configuration_t
source§fn clone(&self) -> scs_telemetry_configuration_t
fn clone(&self) -> scs_telemetry_configuration_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 moreimpl Copy for scs_telemetry_configuration_t
Auto Trait Implementations§
impl RefUnwindSafe for scs_telemetry_configuration_t
impl !Send for scs_telemetry_configuration_t
impl !Sync for scs_telemetry_configuration_t
impl Unpin for scs_telemetry_configuration_t
impl UnwindSafe for scs_telemetry_configuration_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