[][src]Struct ev3dev_lang_rust::sensors::infrared_sensor::InfraredSensor

pub struct InfraredSensor { /* fields omitted */ }

LEGO EV3 infrared sensor.

Methods

impl InfraredSensor[src]

pub fn set_mode_ir_prox(&self) -> Ev3Result<()>[src]

Proximity

pub fn set_mode_ir_seek(&self) -> Ev3Result<()>[src]

IR Seeker

pub fn set_mode_ir_remote(&self) -> Ev3Result<()>[src]

IR Remote Control

pub fn set_mode_ir_rem_a(&self) -> Ev3Result<()>[src]

IR Remote Control

pub fn set_mode_ir_s_alt(&self) -> Ev3Result<()>[src]

Alternate IR Seeker ???

pub fn set_mode_ir_cal(&self) -> Ev3Result<()>[src]

Calibration ???

Trait Implementations

impl Device for InfraredSensor[src]

impl Findable<SensorPort> for InfraredSensor[src]

impl Sensor for InfraredSensor[src]

impl Clone for InfraredSensor[src]

impl Debug for InfraredSensor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]