pub struct DataTableAccessor<T, V> { /* private fields */ }Expand description
Type-safe accessor for extracting values from row data.
Accessors provide compile-time guarantees that columns access the correct fields from row data without string-based property access.
Implementations§
Source§impl<T, V> DataTableAccessor<T, V>
impl<T, V> DataTableAccessor<T, V>
Sourcepub fn new<F>(f: F) -> DataTableAccessor<T, V>
pub fn new<F>(f: F) -> DataTableAccessor<T, V>
Trait Implementations§
Auto Trait Implementations§
impl<T, V> Freeze for DataTableAccessor<T, V>
impl<T, V> !RefUnwindSafe for DataTableAccessor<T, V>
impl<T, V> Send for DataTableAccessor<T, V>
impl<T, V> Sync for DataTableAccessor<T, V>
impl<T, V> Unpin for DataTableAccessor<T, V>
impl<T, V> UnsafeUnpin for DataTableAccessor<T, V>
impl<T, V> !UnwindSafe for DataTableAccessor<T, V>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.