pub struct SeparatorConfig {
pub model: ModelConfig,
pub process: ProcessConfig,
pub show_progress: bool,
}Expand description
Separator configuration
Fields§
§model: ModelConfigModel configuration
process: ProcessConfigProcessing configuration
show_progress: boolShow progress bars
Implementations§
Source§impl SeparatorConfig
impl SeparatorConfig
Sourcepub fn with_shifts(self, shifts: usize) -> Self
pub fn with_shifts(self, shifts: usize) -> Self
Set number of ensemble shifts
Sourcepub fn with_segment_length(self, seconds: f64) -> Self
pub fn with_segment_length(self, seconds: f64) -> Self
Set segment length
Sourcepub fn with_progress(self, show: bool) -> Self
pub fn with_progress(self, show: bool) -> Self
Enable/disable progress display
Trait Implementations§
Source§impl Clone for SeparatorConfig
impl Clone for SeparatorConfig
Source§fn clone(&self) -> SeparatorConfig
fn clone(&self) -> SeparatorConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SeparatorConfig
impl Debug for SeparatorConfig
Source§impl Default for SeparatorConfig
impl Default for SeparatorConfig
Source§impl<'de> Deserialize<'de> for SeparatorConfig
impl<'de> Deserialize<'de> for SeparatorConfig
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
Auto Trait Implementations§
impl Freeze for SeparatorConfig
impl RefUnwindSafe for SeparatorConfig
impl Send for SeparatorConfig
impl Sync for SeparatorConfig
impl Unpin for SeparatorConfig
impl UnwindSafe for SeparatorConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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