pub struct SpiceConfig {
pub sample_rate: u32,
pub oversample: u32,
}Expand description
Configuration for SPICE simulations.
Fields§
§sample_rate: u32Output sample rate in Hz.
oversample: u32Oversampling factor for internal simulation.
Implementations§
Source§impl SpiceConfig
impl SpiceConfig
Trait Implementations§
Source§impl Clone for SpiceConfig
impl Clone for SpiceConfig
Source§fn clone(&self) -> SpiceConfig
fn clone(&self) -> SpiceConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpiceConfig
impl Debug for SpiceConfig
Auto Trait Implementations§
impl Freeze for SpiceConfig
impl RefUnwindSafe for SpiceConfig
impl Send for SpiceConfig
impl Sync for SpiceConfig
impl Unpin for SpiceConfig
impl UnsafeUnpin for SpiceConfig
impl UnwindSafe for SpiceConfig
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