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 strchildren: Element<'a>is_head: boolindex: usizeitem: Option<&'a T>onclick: EventHandler<'a, TableRowEvent<'a, T, MouseEvent>>

Implementations

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

The type of the builder for this component. Used to create “in-progress” versions of the props. Read more

An indication if these props are can be memoized automatically.

Create a builder for this component.

Memoization can only happen if the props are valid for the ’static lifetime Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.