pub struct ListAddButtonBuilder<TypedBuilderFields = ((), (), ())> { /* private fields */ }
Expand description
Builder for ListAddButton
instances.
See ListAddButton::builder()
for more info.
Implementations§
Source§impl<__variant, __on_click> ListAddButtonBuilder<((), __variant, __on_click)>
impl<__variant, __on_click> ListAddButtonBuilder<((), __variant, __on_click)>
Sourcepub fn label(
self,
label: impl Into<Signal<String>>,
) -> ListAddButtonBuilder<((Signal<String>,), __variant, __on_click)>
pub fn label( self, label: impl Into<Signal<String>>, ) -> ListAddButtonBuilder<((Signal<String>,), __variant, __on_click)>
label: impl
Into<Signal<String>>
Source§impl<__label, __on_click> ListAddButtonBuilder<(__label, (), __on_click)>
impl<__label, __on_click> ListAddButtonBuilder<(__label, (), __on_click)>
Sourcepub fn variant(
self,
variant: impl Into<Signal<Variant>>,
) -> ListAddButtonBuilder<(__label, (Signal<Variant>,), __on_click)>
pub fn variant( self, variant: impl Into<Signal<Variant>>, ) -> ListAddButtonBuilder<(__label, (Signal<Variant>,), __on_click)>
variant: impl
Into<Signal<Variant>>
Source§impl<__label, __variant> ListAddButtonBuilder<(__label, __variant, ())>
impl<__label, __variant> ListAddButtonBuilder<(__label, __variant, ())>
Source§impl<__variant: Optional<Signal<Variant>>, __on_click: Optional<Callback<()>>> ListAddButtonBuilder<((Signal<String>,), __variant, __on_click)>
impl<__variant: Optional<Signal<Variant>>, __on_click: Optional<Callback<()>>> ListAddButtonBuilder<((Signal<String>,), __variant, __on_click)>
Sourcepub fn build(self) -> ListAddButton
pub fn build(self) -> ListAddButton
Finalise the builder and create its ListAddButton
instance
Trait Implementations§
Auto Trait Implementations§
impl<TypedBuilderFields> Freeze for ListAddButtonBuilder<TypedBuilderFields>where
TypedBuilderFields: Freeze,
impl<TypedBuilderFields> RefUnwindSafe for ListAddButtonBuilder<TypedBuilderFields>where
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for ListAddButtonBuilder<TypedBuilderFields>where
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for ListAddButtonBuilder<TypedBuilderFields>where
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for ListAddButtonBuilder<TypedBuilderFields>where
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for ListAddButtonBuilder<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<El, T, Marker> IntoElementMaybeSignal<T, Marker> for Elwhere
El: IntoElementMaybeSignalType<T, Marker>,
Marker: ?Sized,
impl<El, T, Marker> IntoElementMaybeSignal<T, Marker> for Elwhere
El: IntoElementMaybeSignalType<T, Marker>,
Marker: ?Sized,
fn into_element_maybe_signal(self) -> ElementMaybeSignal<T>
Source§impl<T, Js> IntoElementMaybeSignalType<T, Element> for Js
impl<T, Js> IntoElementMaybeSignalType<T, Element> for Js
fn into_element_maybe_signal_type(self) -> ElementMaybeSignalType<T>
Source§impl<El, T, Marker> IntoElementsMaybeSignal<T, Marker> for Elwhere
El: IntoElementsMaybeSignalType<T, Marker>,
Marker: ?Sized,
impl<El, T, Marker> IntoElementsMaybeSignal<T, Marker> for Elwhere
El: IntoElementsMaybeSignalType<T, Marker>,
Marker: ?Sized,
fn into_elements_maybe_signal(self) -> ElementsMaybeSignal<T>
Source§impl<T, Js> IntoElementsMaybeSignalType<T, Element> for Js
impl<T, Js> IntoElementsMaybeSignalType<T, Element> for Js
fn into_elements_maybe_signal_type(self) -> ElementsMaybeSignalType<T>
Source§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.