Enum ctre_sys::mot::FeedbackDevice[][src]

#[repr(i32)]
pub enum FeedbackDevice { None, QuadEncoder, Analog, Tachometer, PulseWidthEncodedPosition, SensorSum, SensorDifference, RemoteSensor0, RemoteSensor1, SoftwareEmulatedSensor, }

Motor controller with gadgeteer connector.

Variants

Methods

impl FeedbackDevice
[src]

CTRE_MagEncoder_Absolute: FeedbackDevice = FeedbackDevice::PulseWidthEncodedPosition

CTRE_MagEncoder_Relative: FeedbackDevice = FeedbackDevice::QuadEncoder

Trait Implementations

impl Debug for FeedbackDevice
[src]

Formats the value using the given formatter. Read more

impl Copy for FeedbackDevice
[src]

impl Clone for FeedbackDevice
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for FeedbackDevice
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for FeedbackDevice
[src]

impl Hash for FeedbackDevice
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations