Enum embedded_hal::Direction [−][src]
pub enum Direction { Downcounting, Upcounting, }
Count direction
This enumeration is available if embedded-hal is built with the "unproven"
feature.
Variants
Downcounting
3, 2, 1
Upcounting
1, 2, 3
Trait Implementations
impl Clone for Direction
[src]
impl Clone for Direction
fn clone(&self) -> Direction
[src]
fn clone(&self) -> Direction
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 Copy for Direction
[src]
impl Copy for Direction
impl Debug for Direction
[src]
impl Debug for Direction
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 Eq for Direction
[src]
impl Eq for Direction
impl PartialEq for Direction
[src]
impl PartialEq for Direction