pub struct GridCell {
pub content: String,
pub row: u32,
pub col: u32,
pub row_span: u32,
pub col_span: u32,
pub is_header: bool,
}Expand description
A single cell in a table grid.
Fields§
§content: StringThe text content of the cell.
row: u320-indexed row position.
col: u320-indexed column position.
row_span: u32Number of rows this cell spans (default 1).
col_span: u32Number of columns this cell spans (default 1).
is_header: boolWhether this is a header cell (<th>).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GridCell
impl<'de> Deserialize<'de> for GridCell
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GridCell
impl StructuralPartialEq for GridCell
Auto Trait Implementations§
impl Freeze for GridCell
impl RefUnwindSafe for GridCell
impl Send for GridCell
impl Sync for GridCell
impl Unpin for GridCell
impl UnsafeUnpin for GridCell
impl UnwindSafe for GridCell
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.