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