pub struct GridCell {
pub row: usize,
pub col: usize,
pub rowspan: usize,
pub colspan: usize,
pub content_id: Option<AreaId>,
}Expand description
A cell in the table grid
Fields§
§row: usizeRow index
col: usizeColumn index
rowspan: usizeNumber of rows spanned
colspan: usizeNumber of columns spanned
content_id: Option<AreaId>Content area ID
Trait Implementations§
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more