[][src]Struct embedded_hal_sync_pins::wire::Wire

pub struct Wire { /* fields omitted */ }

Implementations

impl Wire[src]

pub fn new() -> Self[src]

pub fn new_with_pull(pull: WireState) -> Self[src]

pub fn set_state(&mut self, id: usize, state: WireState)[src]

pub fn get_state(&self) -> WireState[src]

pub fn as_push_pull_pin(&self) -> PushPullPin[src]

pub fn as_open_drain_pin(&self) -> OpenDrainPin[src]

pub fn as_input_pin(&self) -> InputOnlyPin[src]

Trait Implementations

impl Clone for Wire[src]

impl Debug for Wire[src]

impl Default for Wire[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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 = Infallible

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.