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 duplicate 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 Freeze for BootstrapClassesPreset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<El, T, Marker> IntoElementMaybeSignal<T, Marker> for Elwhere
El: IntoElementMaybeSignalType<T, Marker>,
Marker: ?Sized,
impl<El, T, Marker> IntoElementMaybeSignal<T, Marker> for Elwhere
El: IntoElementMaybeSignalType<T, Marker>,
Marker: ?Sized,
fn into_element_maybe_signal(self) -> ElementMaybeSignal<T>
Source§impl<T, Js> IntoElementMaybeSignalType<T, Element> for Js
impl<T, Js> IntoElementMaybeSignalType<T, Element> for Js
fn into_element_maybe_signal_type(self) -> ElementMaybeSignalType<T>
Source§impl<El, T, Marker> IntoElementsMaybeSignal<T, Marker> for Elwhere
El: IntoElementsMaybeSignalType<T, Marker>,
Marker: ?Sized,
impl<El, T, Marker> IntoElementsMaybeSignal<T, Marker> for Elwhere
El: IntoElementsMaybeSignalType<T, Marker>,
Marker: ?Sized,
fn into_elements_maybe_signal(self) -> ElementsMaybeSignal<T>
Source§impl<T, Js> IntoElementsMaybeSignalType<T, Element> for Js
impl<T, Js> IntoElementsMaybeSignalType<T, Element> for Js
fn into_elements_maybe_signal_type(self) -> ElementsMaybeSignalType<T>
Source§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.