pub struct ResistanceCallbackConfiguration {
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
sourceimpl Clone for ResistanceCallbackConfiguration
impl Clone for ResistanceCallbackConfiguration
sourcefn clone(&self) -> ResistanceCallbackConfiguration
fn clone(&self) -> ResistanceCallbackConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for ResistanceCallbackConfiguration
impl Default for ResistanceCallbackConfiguration
sourcefn default() -> ResistanceCallbackConfiguration
fn default() -> ResistanceCallbackConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for ResistanceCallbackConfiguration
impl FromByteSlice for ResistanceCallbackConfiguration
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> ResistanceCallbackConfiguration
fn from_le_bytes(bytes: &[u8]) -> ResistanceCallbackConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl PartialEq<ResistanceCallbackConfiguration> for ResistanceCallbackConfiguration
impl PartialEq<ResistanceCallbackConfiguration> for ResistanceCallbackConfiguration
sourcefn eq(&self, other: &ResistanceCallbackConfiguration) -> bool
fn eq(&self, other: &ResistanceCallbackConfiguration) -> bool
impl Copy for ResistanceCallbackConfiguration
impl Eq for ResistanceCallbackConfiguration
impl StructuralEq for ResistanceCallbackConfiguration
impl StructuralPartialEq for ResistanceCallbackConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ResistanceCallbackConfiguration
impl Send for ResistanceCallbackConfiguration
impl Sync for ResistanceCallbackConfiguration
impl Unpin for ResistanceCallbackConfiguration
impl UnwindSafe for ResistanceCallbackConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more