pub struct FeaturesBuilder {
pub min_block_length: usize,
pub max_block_length: usize,
}Expand description
A builder for Features objects.
Fields§
§min_block_length: usizeThe minimum block size. If plugins try to process less samples than this
on a single run call, an error will be returned.
max_block_length: usizeThe maximum block size. If plugins try to process more samples than this
on a single run call, an error will be returned.
Implementations§
Trait Implementations§
Source§impl Clone for FeaturesBuilder
impl Clone for FeaturesBuilder
Source§fn clone(&self) -> FeaturesBuilder
fn clone(&self) -> FeaturesBuilder
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 FeaturesBuilder
impl Debug for FeaturesBuilder
Source§impl Default for FeaturesBuilder
impl Default for FeaturesBuilder
Source§fn default() -> FeaturesBuilder
fn default() -> FeaturesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FeaturesBuilder
impl RefUnwindSafe for FeaturesBuilder
impl Send for FeaturesBuilder
impl Sync for FeaturesBuilder
impl Unpin for FeaturesBuilder
impl UnwindSafe for FeaturesBuilder
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