#[repr(C)]pub struct ServoDefinition {
pub min_ms: u16,
pub max_ms: u16,
pub min_deg: i16,
pub max_deg: i16,
}
Expand description
サーボの情報
Fields§
§min_ms: u16
最小のパルス幅 [ms]
max_ms: u16
最大のパルス幅 [ms]
min_deg: i16
最小の角度 [deg]
max_deg: i16
最大の角度 [deg]
Trait Implementations§
Source§impl Clone for ServoDefinition
impl Clone for ServoDefinition
Source§fn clone(&self) -> ServoDefinition
fn clone(&self) -> ServoDefinition
Returns a copy 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 ServoDefinition
impl Debug for ServoDefinition
Source§impl PartialEq for ServoDefinition
impl PartialEq for ServoDefinition
impl Copy for ServoDefinition
impl Eq for ServoDefinition
impl StructuralPartialEq for ServoDefinition
Auto Trait Implementations§
impl Freeze for ServoDefinition
impl RefUnwindSafe for ServoDefinition
impl Send for ServoDefinition
impl Sync for ServoDefinition
impl Unpin for ServoDefinition
impl UnwindSafe for ServoDefinition
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