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