Struct rrtk::ServoMotorData
source · pub struct ServoMotorData {
pub acceleration: f32,
pub velocity: f32,
pub position: f32,
pub time: f32,
}Expand description
A container for data required by all ServoMotor objects.
Fields§
§acceleration: f32§velocity: f32§position: f32§time: f32Implementations§
source§impl ServoMotorData
impl ServoMotorData
pub fn new(start_state: Datum<State>) -> ServoMotorData
Auto Trait Implementations§
impl Freeze for ServoMotorData
impl RefUnwindSafe for ServoMotorData
impl Send for ServoMotorData
impl Sync for ServoMotorData
impl Unpin for ServoMotorData
impl UnwindSafe for ServoMotorData
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