Trait async_std_gpiod::AsValues
source · [−]pub trait AsValues {
fn bits(&self) -> u8;
fn get(&self, id: u8) -> Option<bool>;
fn copy_into<T>(&self, other: &mut T)
where
T: AsValuesMut,
{ ... }
fn convert<T>(&self) -> T
where
T: AsValuesMut + Default,
{ ... }
}Expand description
Something that can be used to get GPIO line values
Required Methods
Provided Methods
sourcefn copy_into<T>(&self, other: &mut T)where
T: AsValuesMut,
fn copy_into<T>(&self, other: &mut T)where
T: AsValuesMut,
Copy values to another variable
sourcefn convert<T>(&self) -> Twhere
T: AsValuesMut + Default,
fn convert<T>(&self) -> Twhere
T: AsValuesMut + Default,
Convert to another representation