pub struct TableProps {
pub style: MaybeSignal<String>,
pub single_row: MaybeSignal<bool>,
pub single_column: MaybeSignal<bool>,
pub children: Children,
}
Expand description
Props for the Table
component.
§Required Props
- children:
Children
§Optional Props
- style:
impl Into<MaybeSignal<String>>
- single_row:
impl Into<MaybeSignal<bool>>
- single_column:
impl Into<MaybeSignal<bool>>
Fields§
§style: MaybeSignal<String>
§single_row: MaybeSignal<bool>
§single_column: MaybeSignal<bool>
§children: Children
Implementations§
Source§impl TableProps
impl TableProps
Sourcepub fn builder() -> TablePropsBuilder<((), (), (), ())>
pub fn builder() -> TablePropsBuilder<((), (), (), ())>
Create a builder for building TableProps
.
On the builder, call .style(...)
(optional), .single_row(...)
(optional), .single_column(...)
(optional), .children(...)
to set the values of the fields.
Finally, call .build()
to create the instance of TableProps
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableProps
impl !RefUnwindSafe for TableProps
impl !Send for TableProps
impl !Sync for TableProps
impl Unpin for TableProps
impl !UnwindSafe for TableProps
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 more