#[repr(C)]pub struct PamojaServoMap {
pub min_us: u16,
pub max_us: u16,
pub range_deg: f32,
}Expand description
A hobby servo’s pulse range and travel.
Fields§
§min_us: u16The pulse width at zero degrees, in microseconds.
max_us: u16The pulse width at full travel, in microseconds.
range_deg: f32The full travel in degrees; its magnitude is used.
Trait Implementations§
Source§impl Clone for PamojaServoMap
impl Clone for PamojaServoMap
Source§fn clone(&self) -> PamojaServoMap
fn clone(&self) -> PamojaServoMap
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 moreimpl Copy for PamojaServoMap
Source§impl Debug for PamojaServoMap
impl Debug for PamojaServoMap
Source§impl PartialEq for PamojaServoMap
impl PartialEq for PamojaServoMap
impl StructuralPartialEq for PamojaServoMap
Auto Trait Implementations§
impl Freeze for PamojaServoMap
impl RefUnwindSafe for PamojaServoMap
impl Send for PamojaServoMap
impl Sync for PamojaServoMap
impl Unpin for PamojaServoMap
impl UnsafeUnpin for PamojaServoMap
impl UnwindSafe for PamojaServoMap
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