pub struct HeadingCallbackConfiguration {
pub period: u32,
pub value_has_to_change: bool,
pub option: char,
pub min: i16,
pub max: i16,
}
Fields§
§period: u32
§value_has_to_change: bool
§option: char
§min: i16
§max: i16
Trait Implementations§
Source§impl Clone for HeadingCallbackConfiguration
impl Clone for HeadingCallbackConfiguration
Source§fn clone(&self) -> HeadingCallbackConfiguration
fn clone(&self) -> HeadingCallbackConfiguration
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 moreSource§impl Debug for HeadingCallbackConfiguration
impl Debug for HeadingCallbackConfiguration
Source§impl Default for HeadingCallbackConfiguration
impl Default for HeadingCallbackConfiguration
Source§fn default() -> HeadingCallbackConfiguration
fn default() -> HeadingCallbackConfiguration
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for HeadingCallbackConfiguration
impl FromByteSlice for HeadingCallbackConfiguration
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> HeadingCallbackConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> HeadingCallbackConfiguration
Deserialize the implementing type from a byte slice.
Source§impl Hash for HeadingCallbackConfiguration
impl Hash for HeadingCallbackConfiguration
Source§impl PartialEq for HeadingCallbackConfiguration
impl PartialEq for HeadingCallbackConfiguration
Source§fn eq(&self, other: &HeadingCallbackConfiguration) -> bool
fn eq(&self, other: &HeadingCallbackConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for HeadingCallbackConfiguration
impl Eq for HeadingCallbackConfiguration
impl StructuralPartialEq for HeadingCallbackConfiguration
Auto Trait Implementations§
impl Freeze for HeadingCallbackConfiguration
impl RefUnwindSafe for HeadingCallbackConfiguration
impl Send for HeadingCallbackConfiguration
impl Sync for HeadingCallbackConfiguration
impl Unpin for HeadingCallbackConfiguration
impl UnwindSafe for HeadingCallbackConfiguration
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