pub struct OssProfileConfigurationStruct {
pub number_of_points: u16,
pub normalization_enabled: u8,
pub enhance_enabled: u8,
}Expand description
Get 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 OssProfileConfigurationStruct
impl Clone for OssProfileConfigurationStruct
Source§fn clone(&self) -> OssProfileConfigurationStruct
fn clone(&self) -> OssProfileConfigurationStruct
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 OssProfileConfigurationStruct
impl Default for OssProfileConfigurationStruct
Source§fn default() -> OssProfileConfigurationStruct
fn default() -> OssProfileConfigurationStruct
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OssProfileConfigurationStruct
impl<'de> Deserialize<'de> for OssProfileConfigurationStruct
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 OssProfileConfigurationStruct
impl DeserializePayload for OssProfileConfigurationStruct
fn deserialize(payload: &[u8]) -> Self
Source§impl PartialEq for OssProfileConfigurationStruct
impl PartialEq for OssProfileConfigurationStruct
Source§fn eq(&self, other: &OssProfileConfigurationStruct) -> bool
fn eq(&self, other: &OssProfileConfigurationStruct) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OssProfileConfigurationStruct
Auto Trait Implementations§
impl Freeze for OssProfileConfigurationStruct
impl RefUnwindSafe for OssProfileConfigurationStruct
impl Send for OssProfileConfigurationStruct
impl Sync for OssProfileConfigurationStruct
impl Unpin for OssProfileConfigurationStruct
impl UnwindSafe for OssProfileConfigurationStruct
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