pub struct Table<T>where
T: TableData,{ /* private fields */ }Expand description
The a table with columns holding data.
Implementations§
Trait Implementations§
Source§impl<T> Component for Table<T>where
T: TableData,
impl<T> Component for Table<T>where
T: TableData,
Source§type Properties = TableProps<T>
type Properties = TableProps<T>
Properties type of component implementation.
It sould be serializable because it’s sent to dynamicaly created
component (layed under
VComp) and must be restored for a component
with unknown type.Source§fn create(props: Self::Properties, _link: ComponentLink<Self>) -> Self
fn create(props: Self::Properties, _link: ComponentLink<Self>) -> Self
Initialization routine which could use a context.
Source§fn update(&mut self, msg: Self::Message) -> ShouldRender
fn update(&mut self, msg: Self::Message) -> ShouldRender
Called everytime when a messages of
Msg type received. It also takes a
reference to a context.Source§fn change(&mut self, props: Self::Properties) -> ShouldRender
fn change(&mut self, props: Self::Properties) -> ShouldRender
This method called when properties changes, and once when component created.
impl<T> StructuralPartialEq for Table<T>where
T: TableData,
Auto Trait Implementations§
impl<T> Freeze for Table<T>
impl<T> RefUnwindSafe for Table<T>where
T: RefUnwindSafe,
impl<T> Send for Table<T>where
T: Send,
impl<T> Sync for Table<T>where
T: Sync,
impl<T> Unpin for Table<T>where
T: Unpin,
impl<T> UnwindSafe for Table<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