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 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 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 template_classes
parameter contains the classes specified in the row_class
attribute of the struct.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.
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