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§
Source§impl<'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> !Freeze for DefaultTableRowProps<'a, T>
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§
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