pub struct DataTableRow<'a> {
pub cells: &'a [DataTableCell<'a>],
pub selected: bool,
}Fields§
§cells: &'a [DataTableCell<'a>]§selected: boolImplementations§
Source§impl<'a> DataTableRow<'a>
impl<'a> DataTableRow<'a>
pub const fn new(cells: &'a [DataTableCell<'a>]) -> Self
pub const fn selected(self) -> Self
Trait Implementations§
Source§impl<'a> Clone for DataTableRow<'a>
impl<'a> Clone for DataTableRow<'a>
Source§fn clone(&self) -> DataTableRow<'a>
fn clone(&self) -> DataTableRow<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for DataTableRow<'a>
impl<'a> Debug for DataTableRow<'a>
Source§impl<'a> PartialEq for DataTableRow<'a>
impl<'a> PartialEq for DataTableRow<'a>
Source§fn eq(&self, other: &DataTableRow<'a>) -> bool
fn eq(&self, other: &DataTableRow<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Copy for DataTableRow<'a>
impl<'a> Eq for DataTableRow<'a>
impl<'a> StructuralPartialEq for DataTableRow<'a>
Auto Trait Implementations§
impl<'a> Freeze for DataTableRow<'a>
impl<'a> RefUnwindSafe for DataTableRow<'a>
impl<'a> Send for DataTableRow<'a>
impl<'a> Sync for DataTableRow<'a>
impl<'a> Unpin for DataTableRow<'a>
impl<'a> UnsafeUnpin for DataTableRow<'a>
impl<'a> UnwindSafe for DataTableRow<'a>
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