pub struct BandsOptionBuilder { /* private fields */ }Expand description
Builder for BandsOption.
Implementations§
Source§impl BandsOptionBuilder
impl BandsOptionBuilder
pub fn nbands<VALUE: Into<Nbands>>(&mut self, value: VALUE) -> &mut Self
pub fn extra_bands<VALUE: Into<ExtraBands>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<BandsOption, BandsOptionBuilderError>
pub fn build(&self) -> Result<BandsOption, BandsOptionBuilderError>
Trait Implementations§
Source§impl Clone for BandsOptionBuilder
impl Clone for BandsOptionBuilder
Source§fn clone(&self) -> BandsOptionBuilder
fn clone(&self) -> BandsOptionBuilder
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 moreAuto Trait Implementations§
impl Freeze for BandsOptionBuilder
impl RefUnwindSafe for BandsOptionBuilder
impl Send for BandsOptionBuilder
impl Sync for BandsOptionBuilder
impl Unpin for BandsOptionBuilder
impl UnwindSafe for BandsOptionBuilder
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