pub struct SetOssProfileConfigurationStruct {
pub number_of_points: u16,
pub normalization_enabled: u8,
pub enhance_enabled: u8,
}Expand description
Set the profile output configuration. (Open source firmware only)
Fields§
§number_of_points: u16Not documented
normalization_enabled: u8If enabled, the profile data is scaled so that the maximum value aligns with the upper limit of 255. (0: Disabled, 1: Enabled)
enhance_enabled: u8If enabled, the profile data will be unevenly scaled to enhance peak values. (0: Disabled, 1: Enabled)
Trait Implementations§
Source§impl Clone for SetOssProfileConfigurationStruct
impl Clone for SetOssProfileConfigurationStruct
Source§fn clone(&self) -> SetOssProfileConfigurationStruct
fn clone(&self) -> SetOssProfileConfigurationStruct
Returns a duplicate 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 Default for SetOssProfileConfigurationStruct
impl Default for SetOssProfileConfigurationStruct
Source§fn default() -> SetOssProfileConfigurationStruct
fn default() -> SetOssProfileConfigurationStruct
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetOssProfileConfigurationStruct
impl<'de> Deserialize<'de> for SetOssProfileConfigurationStruct
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl DeserializePayload for SetOssProfileConfigurationStruct
impl DeserializePayload for SetOssProfileConfigurationStruct
fn deserialize(payload: &[u8]) -> Self
Source§impl PartialEq for SetOssProfileConfigurationStruct
impl PartialEq for SetOssProfileConfigurationStruct
Source§fn eq(&self, other: &SetOssProfileConfigurationStruct) -> bool
fn eq(&self, other: &SetOssProfileConfigurationStruct) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetOssProfileConfigurationStruct
Auto Trait Implementations§
impl Freeze for SetOssProfileConfigurationStruct
impl RefUnwindSafe for SetOssProfileConfigurationStruct
impl Send for SetOssProfileConfigurationStruct
impl Sync for SetOssProfileConfigurationStruct
impl Unpin for SetOssProfileConfigurationStruct
impl UnwindSafe for SetOssProfileConfigurationStruct
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