#[repr(C)]pub struct SetValue {
pub component_type: ComponentType,
pub param_id: u32,
pub _pad: u32,
pub value: Value,
}
Fields§
§component_type: ComponentType
§param_id: u32
§_pad: u32
§value: Value
Trait Implementations§
Source§impl CheckedBitPattern for SetValue
impl CheckedBitPattern for SetValue
Source§type Bits = SetValueBits
type Bits = SetValueBits
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(bits: &SetValueBits) -> bool
fn is_valid_bit_pattern(bits: &SetValueBits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.impl Copy for SetValue
impl NoUninit for SetValue
Auto Trait Implementations§
impl Freeze for SetValue
impl RefUnwindSafe for SetValue
impl Send for SetValue
impl Sync for SetValue
impl Unpin for SetValue
impl UnwindSafe for SetValue
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