pub struct InitHint {
pub device_label: String,
pub state: InitState,
}Expand description
One device hint from the init { ... } block.
init {
Q1: saturated
Q2: cutoff
}Fields§
§device_label: StringComponent label in the pedal (e.g., “Q1”).
state: InitStateDesired initial state.
Trait Implementations§
impl StructuralPartialEq for InitHint
Auto Trait Implementations§
impl Freeze for InitHint
impl RefUnwindSafe for InitHint
impl Send for InitHint
impl Sync for InitHint
impl Unpin for InitHint
impl UnsafeUnpin for InitHint
impl UnwindSafe for InitHint
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