pub struct SelectionBuilder { /* private fields */ }Expand description
Builder for Selection.
Implementations§
Source§impl SelectionBuilder
impl SelectionBuilder
pub fn choice<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn how_many<VALUE: Into<ParameterCardinality>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn how_many<VALUE: Into<ParameterCardinality>>( &mut self, value: VALUE, ) -> &mut Self
Describes the number of selections that must occur. Without this setting, only one value should be assumed to be permitted.
Trait Implementations§
Source§impl Clone for SelectionBuilder
impl Clone for SelectionBuilder
Source§fn clone(&self) -> SelectionBuilder
fn clone(&self) -> SelectionBuilder
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 SelectionBuilder
impl RefUnwindSafe for SelectionBuilder
impl Send for SelectionBuilder
impl Sync for SelectionBuilder
impl Unpin for SelectionBuilder
impl UnwindSafe for SelectionBuilder
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