Struct scs_sdk_rs::scs_named_value_t
source · #[repr(C)]pub struct scs_named_value_t {
pub name: scs_string_t,
pub index: scs_u32_t,
pub _padding: scs_u32_t,
pub value: scs_value_t,
}Expand description
@brief Combination of value and its name.
Fields§
§name: scs_string_t@brief Name of this value.
ASCII subset of UTF-8.
index: scs_u32_t@brief Zero-based index of the value for array-like values.
For non-array values it is set to SCS_U32_NIL.
_padding: scs_u32_t@brief Explicit 8-byte alignment for the value part.
value: scs_value_t@brief The value itself.
Trait Implementations§
source§impl Clone for scs_named_value_t
impl Clone for scs_named_value_t
source§fn clone(&self) -> scs_named_value_t
fn clone(&self) -> scs_named_value_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_named_value_t
Auto Trait Implementations§
impl RefUnwindSafe for scs_named_value_t
impl !Send for scs_named_value_t
impl !Sync for scs_named_value_t
impl Unpin for scs_named_value_t
impl UnwindSafe for scs_named_value_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