#[non_exhaustive]pub struct ConfigGroup {
pub name: &'static str,
pub class: ParamClass,
pub description: &'static str,
pub parameters: Vec<ParamSpec>,
}Expand description
Parameters that change together (#125): the unit a change addresses and the unit that has a class. Coupled parameters share a group because a single-parameter intermediate state can be unsafe — a frequency without its bandwidth, a spreading factor without its coding rate.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: &'static strThe group’s name, a plain chunk: it is spelled in the write key.
class: ParamClassWhether it may change under a running driver.
description: &'static strOne line for the operator.
parameters: Vec<ParamSpec>The parameters, in the order the device lists them.
Implementations§
Source§impl ConfigGroup
impl ConfigGroup
Trait Implementations§
Source§impl Clone for ConfigGroup
impl Clone for ConfigGroup
Source§impl Debug for ConfigGroup
impl Debug for ConfigGroup
impl Eq for ConfigGroup
Source§impl PartialEq for ConfigGroup
impl PartialEq for ConfigGroup
impl StructuralPartialEq for ConfigGroup
Auto Trait Implementations§
impl Freeze for ConfigGroup
impl RefUnwindSafe for ConfigGroup
impl Send for ConfigGroup
impl Sync for ConfigGroup
impl Unpin for ConfigGroup
impl UnsafeUnpin for ConfigGroup
impl UnwindSafe for ConfigGroup
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