Struct aws_sdk_amplifyuibuilder::types::builders::ThemeValueBuilder
source · #[non_exhaustive]pub struct ThemeValueBuilder { /* private fields */ }Expand description
A builder for ThemeValue.
Implementations§
source§impl ThemeValueBuilder
impl ThemeValueBuilder
sourcepub fn children(self, input: ThemeValues) -> Self
pub fn children(self, input: ThemeValues) -> Self
Appends an item to children.
To override the contents of this collection use set_children.
A list of key-value pairs that define the theme's properties.
sourcepub fn set_children(self, input: Option<Vec<ThemeValues>>) -> Self
pub fn set_children(self, input: Option<Vec<ThemeValues>>) -> Self
A list of key-value pairs that define the theme's properties.
sourcepub fn get_children(&self) -> &Option<Vec<ThemeValues>>
pub fn get_children(&self) -> &Option<Vec<ThemeValues>>
A list of key-value pairs that define the theme's properties.
sourcepub fn build(self) -> ThemeValue
pub fn build(self) -> ThemeValue
Consumes the builder and constructs a ThemeValue.
Trait Implementations§
source§impl Clone for ThemeValueBuilder
impl Clone for ThemeValueBuilder
source§fn clone(&self) -> ThemeValueBuilder
fn clone(&self) -> ThemeValueBuilder
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 Debug for ThemeValueBuilder
impl Debug for ThemeValueBuilder
source§impl Default for ThemeValueBuilder
impl Default for ThemeValueBuilder
source§fn default() -> ThemeValueBuilder
fn default() -> ThemeValueBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ThemeValueBuilder
impl PartialEq for ThemeValueBuilder
source§fn eq(&self, other: &ThemeValueBuilder) -> bool
fn eq(&self, other: &ThemeValueBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ThemeValueBuilder
Auto Trait Implementations§
impl Freeze for ThemeValueBuilder
impl RefUnwindSafe for ThemeValueBuilder
impl Send for ThemeValueBuilder
impl Sync for ThemeValueBuilder
impl Unpin for ThemeValueBuilder
impl UnwindSafe for ThemeValueBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.