Struct scs_sdk_rs::scs_value_t
source · #[repr(C)]pub struct scs_value_t {
pub type_: scs_value_type_t,
pub _padding: scs_u32_t,
pub __bindgen_anon_1: scs_value_t__bindgen_ty_1,
}Expand description
@brief Varying type storage for values.
Fields§
§type_: scs_value_type_t@brief Type of the value.
_padding: scs_u32_t@brief Explicit alignment for the union.
__bindgen_anon_1: scs_value_t__bindgen_ty_1Trait Implementations§
source§impl Clone for scs_value_t
impl Clone for scs_value_t
source§fn clone(&self) -> scs_value_t
fn clone(&self) -> scs_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_value_t
Auto Trait Implementations§
impl RefUnwindSafe for scs_value_t
impl !Send for scs_value_t
impl !Sync for scs_value_t
impl Unpin for scs_value_t
impl UnwindSafe for scs_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