Struct dioxus_table::DefaultTableCellProps
source · [−]pub struct DefaultTableCellProps<T: PartialEq> {
pub class: &'static str,
pub value: T,
pub precision: Option<usize>,
}
Fields
class: &'static str
value: T
precision: Option<usize>
Implementations
sourceimpl<T: PartialEq> DefaultTableCellProps<T>
impl<T: PartialEq> DefaultTableCellProps<T>
sourcepub fn builder() -> DefaultTableCellPropsBuilder<((), (), ()), T>
pub fn builder() -> DefaultTableCellPropsBuilder<((), (), ()), T>
Create a builder for building DefaultTableCellProps
.
On the builder, call .class(...)
(optional), .value(...)
, .precision(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of DefaultTableCellProps
.
Trait Implementations
sourceimpl<T: PartialEq + PartialEq> PartialEq<DefaultTableCellProps<T>> for DefaultTableCellProps<T>
impl<T: PartialEq + PartialEq> PartialEq<DefaultTableCellProps<T>> for DefaultTableCellProps<T>
sourcefn eq(&self, other: &DefaultTableCellProps<T>) -> bool
fn eq(&self, other: &DefaultTableCellProps<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DefaultTableCellProps<T>) -> bool
fn ne(&self, other: &DefaultTableCellProps<T>) -> bool
This method tests for !=
.
sourceimpl<T: PartialEq> Properties for DefaultTableCellProps<T>
impl<T: PartialEq> Properties for DefaultTableCellProps<T>
impl<T: PartialEq> StructuralPartialEq for DefaultTableCellProps<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for DefaultTableCellProps<T> where
T: RefUnwindSafe,
impl<T> Send for DefaultTableCellProps<T> where
T: Send,
impl<T> Sync for DefaultTableCellProps<T> where
T: Sync,
impl<T> Unpin for DefaultTableCellProps<T> where
T: Unpin,
impl<T> UnwindSafe for DefaultTableCellProps<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more