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§
Source§impl<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§
Source§impl<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> Freeze for DefaultTableCellProps<T>where
T: Freeze,
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§
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