pub struct DefaultTableHeaderProps<'a> {
pub class: &'a str,
pub onclick: EventHandler<'a, TableHeadEvent<MouseEvent>>,
pub field: &'a str,
pub column_index: usize,
pub children: Element<'a>,
}Fields§
§class: &'a str§onclick: EventHandler<'a, TableHeadEvent<MouseEvent>>§field: &'a str§column_index: usize§children: Element<'a>Implementations§
Source§impl<'a> DefaultTableHeaderProps<'a>
impl<'a> DefaultTableHeaderProps<'a>
Sourcepub fn builder() -> DefaultTableHeaderPropsBuilder<'a, ((), (), (), (), ())>
pub fn builder() -> DefaultTableHeaderPropsBuilder<'a, ((), (), (), (), ())>
Create a builder for building DefaultTableHeaderProps.
On the builder, call .class(...)(optional), .onclick(...)(optional), .field(...), .column_index(...), .children(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of DefaultTableHeaderProps.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !Freeze for DefaultTableHeaderProps<'a>
impl<'a> !RefUnwindSafe for DefaultTableHeaderProps<'a>
impl<'a> !Send for DefaultTableHeaderProps<'a>
impl<'a> !Sync for DefaultTableHeaderProps<'a>
impl<'a> Unpin for DefaultTableHeaderProps<'a>
impl<'a> !UnwindSafe for DefaultTableHeaderProps<'a>
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