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 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 TailwindClassesPreset
impl TableClassesProvider for TailwindClassesPreset
Source§fn thead_row(&self, template_classes: &str) -> String
fn thead_row(&self, template_classes: &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, template_classes: &str) -> String
fn thead_cell(&self, sort: ColumnSort, template_classes: &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 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 prop_class parameter contains the classes specified in the row_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.Source§fn cell(&self, template_classes: &str) -> String
fn cell(&self, template_classes: &str) -> String
Get the classes for the body cells.
The
macro_class parameter contains the classes specified in the class macro attribute of the field.impl Copy for TailwindClassesPreset
Auto Trait Implementations§
impl Freeze for TailwindClassesPreset
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
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.