[][src]Struct rpi_gpio::RpioState

pub struct RpioState { /* fields omitted */ }

Methods

impl RpioState[src]

pub fn from_data(data: [u32; 256]) -> Self[src]

pub fn data(&self) -> &[u32; 256][src]

pub fn into_data(self) -> [u32; 256][src]

pub fn pin_mode(&self, index: u32) -> PinMode[src]

pub fn pin_level(&self, index: u32) -> bool[src]

pub fn pin_event(&self, index: u32) -> bool[src]

pub fn pin_detect_rise(&self, index: u32) -> bool[src]

pub fn pin_detect_fall(&self, index: u32) -> bool[src]

pub fn pin_detect_high(&self, index: u32) -> bool[src]

pub fn pin_detect_low(&self, index: u32) -> bool[src]

pub fn pin_detect_async_rise(&self, index: u32) -> bool[src]

pub fn pin_detect_async_fall(&self, index: u32) -> bool[src]

pub fn pin(&self, index: u32) -> PinInfo[src]

pub fn pins(&self) -> Vec<PinInfo>[src]

Auto Trait Implementations

impl Send for RpioState

impl Sync for RpioState

Blanket Implementations

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

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

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.

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]