pub struct TailwindClassesPreset;
Trait Implementations§
source§impl Clone for TailwindClassesPreset
impl Clone for TailwindClassesPreset
source§fn clone(&self) -> TailwindClassesPreset
fn clone(&self) -> TailwindClassesPreset
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl TableClassesProvider for TailwindClassesPreset
impl TableClassesProvider for TailwindClassesPreset
source§fn table(&self, classes: &str) -> String
fn table(&self, classes: &str) -> String
Get the classes for the root table element.
The
classes
parameter contains the classes specified in the classes
prop of the generated component.source§fn head_row(&self, template_classes: &str) -> String
fn head_row(&self, template_classes: &str) -> String
Get the classes for the head row.
The
template_classes
parameter contains the classes specified in the head_row_class
attribute of the struct.source§fn head_cell(&self, sort: ColumnSort, template_classes: &str) -> String
fn head_cell(&self, sort: ColumnSort, template_classes: &str) -> String
Get the classes for the head cells.
The
sort
parameter contains the sort state of the column.
The template_classes
parameter contains the classes specified in the head_class
attribute of the field.source§fn head_cell_inner(&self) -> String
fn head_cell_inner(&self) -> String
Get the classes for the head cells’ inner element.
source§fn row(
&self,
row_index: usize,
selected: bool,
template_classes: &str
) -> String
fn row( &self, row_index: usize, selected: bool, template_classes: &str ) -> String
Get the classes for the body rows.
The
row_index
parameter contains the index of the row. The first row has index 0.
The selected
parameter indicates whether the row is selected.
The template_classes
parameter contains the classes specified in the row_class
attribute of the struct.impl Copy for TailwindClassesPreset
Auto Trait Implementations§
impl RefUnwindSafe for TailwindClassesPreset
impl Send for TailwindClassesPreset
impl Sync for TailwindClassesPreset
impl Unpin for TailwindClassesPreset
impl UnwindSafe for TailwindClassesPreset
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