pub struct CardContentPropsBuilder<TypedBuilderFields = ((), ())> { /* private fields */ }
Expand description
Builder for CardContentProps
instances.
See CardContentProps::builder()
for more info.
Implementations§
Source§impl<__padded> CardContentPropsBuilder<((), __padded)>
impl<__padded> CardContentPropsBuilder<((), __padded)>
pub fn children( self, children: String, ) -> CardContentPropsBuilder<((String,), __padded)>
Source§impl<__children> CardContentPropsBuilder<(__children, ())>
impl<__children> CardContentPropsBuilder<(__children, ())>
pub fn padded( self, padded: bool, ) -> CardContentPropsBuilder<(__children, (bool,))>
Source§impl<__padded: Optional<bool>> CardContentPropsBuilder<((String,), __padded)>
impl<__padded: Optional<bool>> CardContentPropsBuilder<((String,), __padded)>
Sourcepub fn build(self) -> CardContentProps
pub fn build(self) -> CardContentProps
Finalise the builder and create its CardContentProps
instance
Trait Implementations§
Auto Trait Implementations§
impl<TypedBuilderFields> Freeze for CardContentPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Freeze,
impl<TypedBuilderFields> RefUnwindSafe for CardContentPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for CardContentPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for CardContentPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for CardContentPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for CardContentPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: UnwindSafe,
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