pub struct Config<const B: usize = MAX_BUTTONS, const E: usize = MAX_ENCODERS, const A: usize = MAX_ANALOG> {
pub global: GlobalConfig,
pub presets: Vec<Preset<B, E, A>, MAX_PRESETS>,
}Fields§
§global: GlobalConfig§presets: Vec<Preset<B, E, A>, MAX_PRESETS>Trait Implementations§
Source§impl<'de, const B: usize, const E: usize, const A: usize> Deserialize<'de> for Config<B, E, A>
impl<'de, const B: usize, const E: usize, const A: usize> Deserialize<'de> for Config<B, E, A>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<const B: usize, const E: usize, const A: usize> Eq for Config<B, E, A>
Source§impl<const B: usize, const E: usize, const A: usize> PartialEq for Config<B, E, A>
impl<const B: usize, const E: usize, const A: usize> PartialEq for Config<B, E, A>
impl<const B: usize, const E: usize, const A: usize> StructuralPartialEq for Config<B, E, A>
Auto Trait Implementations§
impl<const B: usize, const E: usize, const A: usize> Freeze for Config<B, E, A>
impl<const B: usize, const E: usize, const A: usize> RefUnwindSafe for Config<B, E, A>
impl<const B: usize, const E: usize, const A: usize> Send for Config<B, E, A>
impl<const B: usize, const E: usize, const A: usize> Sync for Config<B, E, A>
impl<const B: usize, const E: usize, const A: usize> Unpin for Config<B, E, A>
impl<const B: usize, const E: usize, const A: usize> UnsafeUnpin for Config<B, E, A>
impl<const B: usize, const E: usize, const A: usize> UnwindSafe for Config<B, E, A>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more