pub struct MotorSetpoint {
pub duty_cycle: f32,
}Fields§
§duty_cycle: f32Trait Implementations§
Source§impl Clone for MotorSetpoint
impl Clone for MotorSetpoint
Source§fn clone(&self) -> MotorSetpoint
fn clone(&self) -> MotorSetpoint
Returns a duplicate 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 MotorSetpoint
impl Debug for MotorSetpoint
Source§impl Default for MotorSetpoint
impl Default for MotorSetpoint
Source§impl<'de> Deserialize<'de> for MotorSetpoint
impl<'de> Deserialize<'de> for MotorSetpoint
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 PartialEq for MotorSetpoint
impl PartialEq for MotorSetpoint
Source§impl Serialize for MotorSetpoint
impl Serialize for MotorSetpoint
impl Message for MotorSetpoint
impl StructuralPartialEq for MotorSetpoint
Auto Trait Implementations§
impl Freeze for MotorSetpoint
impl RefUnwindSafe for MotorSetpoint
impl Send for MotorSetpoint
impl Sync for MotorSetpoint
impl Unpin for MotorSetpoint
impl UnwindSafe for MotorSetpoint
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