pub struct BootstrapClassesPreset;Trait Implementations§
source§impl Clone for BootstrapClassesPreset
impl Clone for BootstrapClassesPreset
source§fn clone(&self) -> BootstrapClassesPreset
fn clone(&self) -> BootstrapClassesPreset
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 BootstrapClassesPreset
impl TableClassesProvider for BootstrapClassesPreset
source§fn row(&self, _: usize, selected: bool, template_classes: &str) -> String
fn row(&self, _: 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 prop_class parameter contains the classes specified in the row_class
prop of the [TableContent] component.source§fn thead(&self, prop_class: &str) -> String
fn thead(&self, prop_class: &str) -> String
Get the class attribute for the thead.
The
prop_class parameter contains the classes specified in the
thead_class prop of the [TableContent] component.source§fn thead_row(&self, prop_class: &str) -> String
fn thead_row(&self, prop_class: &str) -> String
Get the classes for the thead row.
The
prop_class parameter contains the classes specified in the
thead_row_class prop of the [TableContent] component.source§fn thead_cell(&self, sort: ColumnSort, macro_class: &str) -> String
fn thead_cell(&self, sort: ColumnSort, macro_class: &str) -> String
Get the classes for the thead cells.
The
sort parameter contains the sort state of the column.
The macro_class parameter contains the classes specified in the head_class macro attribute of the field.source§fn thead_cell_inner(&self) -> String
fn thead_cell_inner(&self) -> String
Get the classes for the thead cells’ inner element.
source§fn tbody(&self, prop_class: &str) -> String
fn tbody(&self, prop_class: &str) -> String
Get the classes for the tbody.
The
prop_class parameter contains the classes specified in the
tbody_class prop of the [TableContent] component.source§fn loading_cell(
&self,
row_index: usize,
col_index: usize,
prop_class: &str
) -> String
fn loading_cell( &self, row_index: usize, col_index: usize, prop_class: &str ) -> String
Get the classes for the elements inside of the cells of rows that are currently
being loaded.
The
prop_class parameter contains the classes specified in the
loading_cell_class prop of the [TableContent] component.source§fn loading_cell_inner(
&self,
row_index: usize,
col_index: usize,
prop_class: &str
) -> String
fn loading_cell_inner( &self, row_index: usize, col_index: usize, prop_class: &str ) -> String
Get the classes for the elements inside of the cells of rows that are currently
being loaded. Usually this will be some loading indicator like a sceleton bar.
The
prop_class parameter contains the classes specified in the
loading_cell_inner_class prop of the [TableContent] component.impl Copy for BootstrapClassesPreset
Auto Trait Implementations§
impl RefUnwindSafe for BootstrapClassesPreset
impl Send for BootstrapClassesPreset
impl Sync for BootstrapClassesPreset
impl Unpin for BootstrapClassesPreset
impl UnwindSafe for BootstrapClassesPreset
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