pub struct Design {Show 18 fields
pub replay: Arc<DesignReplay>,
pub chain: SignalChain,
pub mains: Vec<MainDesign>,
pub subs: Option<SubDesign>,
pub ref_level: f64,
pub rc_hi: f64,
pub rc_bands: Vec<(f64, f64)>,
pub rc_auto: bool,
pub schroeder_hz: Option<f64>,
pub target_db: Arc<[f64]>,
pub target_display: Vec<f64>,
pub spectra: DesignSpectra,
pub notes: Vec<Note>,
pub adapter_notes: Vec<String>,
pub scores: Vec<RoleScores>,
pub groups: Vec<(String, Vec<String>)>,
pub target: TargetCurve,
pub xo: Vec<(String, f64)>,
}Fields§
§replay: Arc<DesignReplay>§chain: SignalChain§mains: Vec<MainDesign>§subs: Option<SubDesign>§ref_level: f64§rc_hi: f64§rc_bands: Vec<(f64, f64)>Merged correction bands; empty when no extra bands were requested.
rc_auto: bool§schroeder_hz: Option<f64>§target_db: Arc<[f64]>§target_display: Vec<f64>§spectra: DesignSpectra§notes: Vec<Note>§adapter_notes: Vec<String>§scores: Vec<RoleScores>§groups: Vec<(String, Vec<String>)>The speaker groups the design was made for (engine.groups), in order.
target: TargetCurveThe target curve the design was made for (engine.target_db_fn).
xo: Vec<(String, f64)>The crossover per group as configured (engine.xo).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Design
impl RefUnwindSafe for Design
impl Send for Design
impl Sync for Design
impl Unpin for Design
impl UnsafeUnpin for Design
impl UnwindSafe for Design
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
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more