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
None
QuadEncoder
Analog
Tachometer
PulseWidthEncodedPosition
SensorSum
SensorDifference
RemoteSensor0
RemoteSensor1
SoftwareEmulatedSensor
Methods
impl FeedbackDevice
[src]
impl FeedbackDevice
pub const CTRE_MagEncoder_Absolute: FeedbackDevice
CTRE_MagEncoder_Absolute: FeedbackDevice = FeedbackDevice::PulseWidthEncodedPosition
pub const CTRE_MagEncoder_Relative: FeedbackDevice
CTRE_MagEncoder_Relative: FeedbackDevice = FeedbackDevice::QuadEncoder
Trait Implementations
impl Debug for FeedbackDevice
[src]
impl Debug for FeedbackDevice
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for FeedbackDevice
[src]
impl Copy for FeedbackDevice
impl Clone for FeedbackDevice
[src]
impl Clone for FeedbackDevice
fn clone(&self) -> FeedbackDevice
[src]
fn clone(&self) -> FeedbackDevice
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for FeedbackDevice
[src]
impl PartialEq for FeedbackDevice
fn eq(&self, other: &FeedbackDevice) -> bool
[src]
fn eq(&self, other: &FeedbackDevice) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for FeedbackDevice
[src]
impl Eq for FeedbackDevice
impl Hash for FeedbackDevice
[src]
impl Hash for FeedbackDevice
Auto Trait Implementations
impl Send for FeedbackDevice
impl Send for FeedbackDevice
impl Sync for FeedbackDevice
impl Sync for FeedbackDevice