#[non_exhaustive]pub struct CompositeSlotTypeSettingBuilder { /* private fields */ }Expand description
A builder for CompositeSlotTypeSetting.
Implementations§
source§impl CompositeSlotTypeSettingBuilder
impl CompositeSlotTypeSettingBuilder
sourcepub fn sub_slots(self, input: SubSlotTypeComposition) -> Self
pub fn sub_slots(self, input: SubSlotTypeComposition) -> Self
Appends an item to sub_slots.
To override the contents of this collection use set_sub_slots.
Subslots in the composite slot.
sourcepub fn set_sub_slots(self, input: Option<Vec<SubSlotTypeComposition>>) -> Self
pub fn set_sub_slots(self, input: Option<Vec<SubSlotTypeComposition>>) -> Self
Subslots in the composite slot.
sourcepub fn get_sub_slots(&self) -> &Option<Vec<SubSlotTypeComposition>>
pub fn get_sub_slots(&self) -> &Option<Vec<SubSlotTypeComposition>>
Subslots in the composite slot.
sourcepub fn build(self) -> CompositeSlotTypeSetting
pub fn build(self) -> CompositeSlotTypeSetting
Consumes the builder and constructs a CompositeSlotTypeSetting.
Trait Implementations§
source§impl Clone for CompositeSlotTypeSettingBuilder
impl Clone for CompositeSlotTypeSettingBuilder
source§fn clone(&self) -> CompositeSlotTypeSettingBuilder
fn clone(&self) -> CompositeSlotTypeSettingBuilder
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 CompositeSlotTypeSettingBuilder
impl Default for CompositeSlotTypeSettingBuilder
source§fn default() -> CompositeSlotTypeSettingBuilder
fn default() -> CompositeSlotTypeSettingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CompositeSlotTypeSettingBuilder
impl PartialEq for CompositeSlotTypeSettingBuilder
source§fn eq(&self, other: &CompositeSlotTypeSettingBuilder) -> bool
fn eq(&self, other: &CompositeSlotTypeSettingBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CompositeSlotTypeSettingBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CompositeSlotTypeSettingBuilder
impl Send for CompositeSlotTypeSettingBuilder
impl Sync for CompositeSlotTypeSettingBuilder
impl Unpin for CompositeSlotTypeSettingBuilder
impl UnwindSafe for CompositeSlotTypeSettingBuilder
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.