#[repr(C)]pub struct SparkMaxAlternateEncoder {
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(CANSparkMax::EncoderType, int).
Fields§
§_base: RelativeEncoder§m_device: *mut CANSparkMax§m_countsPerRev: c_intTrait Implementations§
Auto Trait Implementations§
impl Freeze for SparkMaxAlternateEncoder
impl !RefUnwindSafe for SparkMaxAlternateEncoder
impl !Send for SparkMaxAlternateEncoder
impl !Sync for SparkMaxAlternateEncoder
impl Unpin for SparkMaxAlternateEncoder
impl !UnwindSafe for SparkMaxAlternateEncoder
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