pub trait AsValuesMut: AsValues {
    fn set(&mut self, id: u8, val: Option<bool>);

    fn with(self, id: u8, val: Option<bool>) -> Self { ... }
    fn copy_from<T>(&mut self, other: &T)
   where
        T: AsValues
, { ... } fn fill<R>(&mut self, range: R, val: Option<bool>)
   where
        R: Iterator<Item = u8>
, { ... } fn truncate(&mut self, len: u8) { ... } }
Expand description

Something that can be used to get and set GPIO line values

Required Methods

Set the value of specific bit identified by offset

If bit if out of range (0..bits) then nothing should be set.

Provided Methods

Change the value of specific bit identified by offset

If bit if out of range (0..bits) then nothing will be changed.

Copy values to another variable

Fill values in range

Truncate mask

Implementations on Foreign Types

Implementors