Struct rrtk::SimpleEncoderData
source · pub struct SimpleEncoderData {
pub encoder_type: MotorMode,
pub time: f32,
pub position: f32,
pub velocity: f32,
pub acceleration: f32,
}Expand description
Data needed by all SimpleEncoder types.
Fields§
§encoder_type: MotorMode§time: f32§position: f32§velocity: f32§acceleration: f32Implementations§
Auto Trait Implementations§
impl Freeze for SimpleEncoderData
impl RefUnwindSafe for SimpleEncoderData
impl Send for SimpleEncoderData
impl Sync for SimpleEncoderData
impl Unpin for SimpleEncoderData
impl UnwindSafe for SimpleEncoderData
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