#[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 get_source_controls(&self) -> &Option<Vec<CascadingControlSource>>
pub fn get_source_controls(&self) -> &Option<Vec<CascadingControlSource>>
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 for CascadingControlConfigurationBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for CascadingControlConfigurationBuilder
Auto Trait Implementations§
impl Freeze for CascadingControlConfigurationBuilder
impl RefUnwindSafe for CascadingControlConfigurationBuilder
impl Send for CascadingControlConfigurationBuilder
impl Sync for CascadingControlConfigurationBuilder
impl Unpin for CascadingControlConfigurationBuilder
impl UnwindSafe for CascadingControlConfigurationBuilder
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> 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>
Creates a shared type from an unshared type.