Enum ev3rt::SensorPort
source · #[repr(i32)]
pub enum SensorPort {
S1,
S2,
S3,
S4,
}
Variants§
Trait Implementations§
source§impl Clone for SensorPort
impl Clone for SensorPort
source§fn clone(&self) -> SensorPort
fn clone(&self) -> SensorPort
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<SensorPort> for SensorPort
impl PartialEq<SensorPort> for SensorPort
source§fn eq(&self, other: &SensorPort) -> bool
fn eq(&self, other: &SensorPort) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.