[][src]Trait intel_spi::Io

pub trait Io {
    type Value: Copy + PartialEq + BitAnd<Output = Self::Value> + BitOr<Output = Self::Value> + Not<Output = Self::Value>;
    fn read(&self) -> Self::Value;
fn write(&mut self, value: Self::Value); fn readf(&self, flags: Self::Value) -> bool { ... }
fn writef(&mut self, flags: Self::Value, value: bool) { ... } }

Associated Types

type Value: Copy + PartialEq + BitAnd<Output = Self::Value> + BitOr<Output = Self::Value> + Not<Output = Self::Value>

Loading content...

Required methods

fn read(&self) -> Self::Value

fn write(&mut self, value: Self::Value)

Loading content...

Provided methods

fn readf(&self, flags: Self::Value) -> bool

fn writef(&mut self, flags: Self::Value, value: bool)

Loading content...

Implementors

impl<T> Io for Mmio<T> where
    T: Copy + PartialEq + BitAnd<Output = T> + BitOr<Output = T> + Not<Output = T>, 
[src]

type Value = T

fn readf(&self, flags: Self::Value) -> bool[src]

fn writef(&mut self, flags: Self::Value, value: bool)[src]

Loading content...