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