Struct spn_rust_bot::api::ipc::IpcStepResponse
source · [−]Expand description
The response structure sent if IpcRequest::request_type was set to Step.
Fields
delta_angle: f32
Direction change in this frame (radians, -π to +π).
boost: bool
Set to true to boost.
Trait Implementations
sourceimpl Clone for IpcStepResponse
impl Clone for IpcStepResponse
sourcefn clone(&self) -> IpcStepResponse
fn clone(&self) -> IpcStepResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for IpcStepResponse
Auto Trait Implementations
impl RefUnwindSafe for IpcStepResponse
impl Send for IpcStepResponse
impl Sync for IpcStepResponse
impl Unpin for IpcStepResponse
impl UnwindSafe for IpcStepResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more