pub struct Config { /* private fields */ }Implementations§
Source§impl Config
impl Config
pub fn taper_current_ma(&self) -> u16
pub fn value(&self, index: usize) -> u32
pub fn values(&self) -> impl Iterator<Item = u32> + '_
pub fn set(&mut self, index: usize, value: u32) -> Result<(), Status>
pub fn encode(&self, out: &mut [u8]) -> Result<usize, Status>
pub fn decode(bytes: &[u8]) -> Result<Self, Status>
pub fn cedv_config(&self) -> u32
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)