#[repr(C)]pub struct SparkMaxRelativeEncoder {
pub _base: RelativeEncoder,
pub m_device: *mut CANSparkMax,
pub m_countsPerRev: c_int,
}Expand description
Get an instance of this class by using CANSparkMax::GetEncoder() or CANSparkMax::GetEncoder(SparkMaxRelativeEncoder::Type, int).
Fields§
§_base: RelativeEncoder§m_device: *mut CANSparkMax§m_countsPerRev: c_intTrait Implementations§
Auto Trait Implementations§
impl Freeze for SparkMaxRelativeEncoder
impl !RefUnwindSafe for SparkMaxRelativeEncoder
impl !Send for SparkMaxRelativeEncoder
impl !Sync for SparkMaxRelativeEncoder
impl Unpin for SparkMaxRelativeEncoder
impl !UnwindSafe for SparkMaxRelativeEncoder
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