#[non_exhaustive]pub struct CascadingControlConfigurationBuilder { /* private fields */ }Expand description
A builder for CascadingControlConfiguration.
Implementations§
source§impl CascadingControlConfigurationBuilder
impl CascadingControlConfigurationBuilder
sourcepub fn source_controls(self, input: CascadingControlSource) -> Self
pub fn source_controls(self, input: CascadingControlSource) -> Self
Appends an item to source_controls.
To override the contents of this collection use set_source_controls.
A list of source controls that determine the values that are used in the current control.
sourcepub fn set_source_controls(
self,
input: Option<Vec<CascadingControlSource>>
) -> Self
pub fn set_source_controls( self, input: Option<Vec<CascadingControlSource>> ) -> Self
A list of source controls that determine the values that are used in the current control.
sourcepub fn build(self) -> CascadingControlConfiguration
pub fn build(self) -> CascadingControlConfiguration
Consumes the builder and constructs a CascadingControlConfiguration.
Trait Implementations§
source§impl Clone for CascadingControlConfigurationBuilder
impl Clone for CascadingControlConfigurationBuilder
source§fn clone(&self) -> CascadingControlConfigurationBuilder
fn clone(&self) -> CascadingControlConfigurationBuilder
Returns a copy 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 Default for CascadingControlConfigurationBuilder
impl Default for CascadingControlConfigurationBuilder
source§fn default() -> CascadingControlConfigurationBuilder
fn default() -> CascadingControlConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CascadingControlConfigurationBuilder> for CascadingControlConfigurationBuilder
impl PartialEq<CascadingControlConfigurationBuilder> for CascadingControlConfigurationBuilder
source§fn eq(&self, other: &CascadingControlConfigurationBuilder) -> bool
fn eq(&self, other: &CascadingControlConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.