Struct dioxus_table::DefaultTableHeaderProps
source · [−]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
sourceimpl<'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> !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
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