#[repr(transparent)]pub struct V5MotorEncoderUnits(pub c_uchar);
Tuple Fields§
§0: c_uchar
Implementations§
Source§impl V5MotorEncoderUnits
impl V5MotorEncoderUnits
pub const kMotorEncoderDegrees: Self = _
pub const kMotorEncoderRotations: Self = _
pub const kMotorEncoderCounts: Self = _
Trait Implementations§
Source§impl Clone for V5MotorEncoderUnits
impl Clone for V5MotorEncoderUnits
Source§fn clone(&self) -> V5MotorEncoderUnits
fn clone(&self) -> V5MotorEncoderUnits
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for V5MotorEncoderUnits
impl Debug for V5MotorEncoderUnits
Source§impl Default for V5MotorEncoderUnits
impl Default for V5MotorEncoderUnits
Source§fn default() -> V5MotorEncoderUnits
fn default() -> V5MotorEncoderUnits
Returns the “default value” for a type. Read more
Source§impl PartialEq for V5MotorEncoderUnits
impl PartialEq for V5MotorEncoderUnits
impl Copy for V5MotorEncoderUnits
impl Eq for V5MotorEncoderUnits
impl StructuralPartialEq for V5MotorEncoderUnits
Auto Trait Implementations§
impl Freeze for V5MotorEncoderUnits
impl RefUnwindSafe for V5MotorEncoderUnits
impl Send for V5MotorEncoderUnits
impl Sync for V5MotorEncoderUnits
impl Unpin for V5MotorEncoderUnits
impl UnwindSafe for V5MotorEncoderUnits
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)