pub struct AltitudeCallbackConfiguration {
pub period: u32,
pub value_has_to_change: bool,
pub option: char,
pub min: i32,
pub max: i32,
}
Fields§
§period: u32
§value_has_to_change: bool
§option: char
§min: i32
§max: i32
Trait Implementations§
source§impl Clone for AltitudeCallbackConfiguration
impl Clone for AltitudeCallbackConfiguration
source§fn clone(&self) -> AltitudeCallbackConfiguration
fn clone(&self) -> AltitudeCallbackConfiguration
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 Default for AltitudeCallbackConfiguration
impl Default for AltitudeCallbackConfiguration
source§fn default() -> AltitudeCallbackConfiguration
fn default() -> AltitudeCallbackConfiguration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for AltitudeCallbackConfiguration
impl FromByteSlice for AltitudeCallbackConfiguration
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]) -> AltitudeCallbackConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> AltitudeCallbackConfiguration
Deserialize the implementing type from a byte slice.
source§impl Hash for AltitudeCallbackConfiguration
impl Hash for AltitudeCallbackConfiguration
source§impl PartialEq for AltitudeCallbackConfiguration
impl PartialEq for AltitudeCallbackConfiguration
source§fn eq(&self, other: &AltitudeCallbackConfiguration) -> bool
fn eq(&self, other: &AltitudeCallbackConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AltitudeCallbackConfiguration
impl Eq for AltitudeCallbackConfiguration
impl StructuralPartialEq for AltitudeCallbackConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for AltitudeCallbackConfiguration
impl Send for AltitudeCallbackConfiguration
impl Sync for AltitudeCallbackConfiguration
impl Unpin for AltitudeCallbackConfiguration
impl UnwindSafe for AltitudeCallbackConfiguration
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