pub struct SpeedRamping {
pub acceleration: u16,
pub deacceleration: u16,
}
Fields§
§acceleration: u16
§deacceleration: u16
Trait Implementations§
Source§impl Clone for SpeedRamping
impl Clone for SpeedRamping
Source§fn clone(&self) -> SpeedRamping
fn clone(&self) -> SpeedRamping
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 SpeedRamping
impl Debug for SpeedRamping
Source§impl Default for SpeedRamping
impl Default for SpeedRamping
Source§fn default() -> SpeedRamping
fn default() -> SpeedRamping
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for SpeedRamping
impl FromByteSlice for SpeedRamping
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]) -> SpeedRamping
fn from_le_byte_slice(bytes: &[u8]) -> SpeedRamping
Deserialize the implementing type from a byte slice.
Source§impl Hash for SpeedRamping
impl Hash for SpeedRamping
Source§impl PartialEq for SpeedRamping
impl PartialEq for SpeedRamping
impl Copy for SpeedRamping
impl Eq for SpeedRamping
impl StructuralPartialEq for SpeedRamping
Auto Trait Implementations§
impl Freeze for SpeedRamping
impl RefUnwindSafe for SpeedRamping
impl Send for SpeedRamping
impl Sync for SpeedRamping
impl Unpin for SpeedRamping
impl UnwindSafe for SpeedRamping
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