pub struct CommandOverlay {
pub left_cmd: f64,
pub right_cmd: f64,
pub speed_mode: SpeedMode,
pub max_speed: f64,
pub estop: bool,
}Fields§
§left_cmd: f64§right_cmd: f64§speed_mode: SpeedMode§max_speed: f64§estop: boolTrait Implementations§
Source§impl Clone for CommandOverlay
impl Clone for CommandOverlay
Source§fn clone(&self) -> CommandOverlay
fn clone(&self) -> CommandOverlay
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommandOverlay
impl Debug for CommandOverlay
Source§impl Default for CommandOverlay
impl Default for CommandOverlay
Source§fn default() -> CommandOverlay
fn default() -> CommandOverlay
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandOverlay
impl<'de> Deserialize<'de> for CommandOverlay
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for CommandOverlay
impl JsonSchema for CommandOverlay
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CommandOverlay
impl PartialEq for CommandOverlay
Source§fn eq(&self, other: &CommandOverlay) -> bool
fn eq(&self, other: &CommandOverlay) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommandOverlay
impl Serialize for CommandOverlay
impl StructuralPartialEq for CommandOverlay
Auto Trait Implementations§
impl Freeze for CommandOverlay
impl RefUnwindSafe for CommandOverlay
impl Send for CommandOverlay
impl Sync for CommandOverlay
impl Unpin for CommandOverlay
impl UnsafeUnpin for CommandOverlay
impl UnwindSafe for CommandOverlay
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