[][src]Struct bcm283x_linux_gpio::GpioState

pub struct GpioState { /* fields omitted */ }

Methods

impl GpioState[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_function(&self, index: usize) -> PinFunction[src]

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

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

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

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

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

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

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

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

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

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

Trait Implementations

impl Clone for GpioState[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for GpioState

impl Sync for GpioState

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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