pub struct TableColumnDef<T> {
pub key: &'static str,
pub title: &'static str,
pub accessor: Rc<dyn Fn(&T) -> String>,
}Expand description
Column definition for DataTable composite.
Fields§
§key: &'static str§title: &'static str§accessor: Rc<dyn Fn(&T) -> String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for TableColumnDef<T>
impl<T> !Send for TableColumnDef<T>
impl<T> !Sync for TableColumnDef<T>
impl<T> !UnwindSafe for TableColumnDef<T>
impl<T> Forget for TableColumnDef<T>
impl<T> Freeze for TableColumnDef<T>
impl<T> Move for TableColumnDef<T>
impl<T> Unpin for TableColumnDef<T>
impl<T> UnsafeUnpin for TableColumnDef<T>
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