Struct dioxus_table::DefaultTableRowProps
source · [−]pub struct DefaultTableRowProps<'a, T: 'a> {
pub class: &'a str,
pub children: Element<'a>,
pub is_head: bool,
pub index: usize,
pub item: Option<&'a T>,
pub onclick: EventHandler<'a, TableRowEvent<'a, T, MouseEvent>>,
}
Fields
class: &'a str
children: Element<'a>
is_head: bool
index: usize
item: Option<&'a T>
onclick: EventHandler<'a, TableRowEvent<'a, T, MouseEvent>>
Implementations
sourceimpl<'a, T: 'a> DefaultTableRowProps<'a, T>
impl<'a, T: 'a> DefaultTableRowProps<'a, T>
sourcepub fn builder() -> DefaultTableRowPropsBuilder<'a, ((), (), (), (), (), ()), T>
pub fn builder() -> DefaultTableRowPropsBuilder<'a, ((), (), (), (), (), ()), T>
Create a builder for building DefaultTableRowProps
.
On the builder, call .class(...)
(optional), .children(...)
(optional), .is_head(...)
(optional), .index(...)
, .item(...)
(optional), .onclick(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of DefaultTableRowProps
.
Trait Implementations
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for DefaultTableRowProps<'a, T>
impl<'a, T> !Send for DefaultTableRowProps<'a, T>
impl<'a, T> !Sync for DefaultTableRowProps<'a, T>
impl<'a, T> Unpin for DefaultTableRowProps<'a, T>
impl<'a, T> !UnwindSafe for DefaultTableRowProps<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more