pub struct CellSpan { /* private fields */ }Expand description
A cell can span multiple rows/columns.
Implementations§
Source§impl CellSpan
impl CellSpan
Sourcepub fn set_row_span(&mut self, rows: u32)
pub fn set_row_span(&mut self, rows: u32)
Sets the row span of this cell. Cells below with values will be lost when writing.
Sourcepub fn set_col_span(&mut self, cols: u32)
pub fn set_col_span(&mut self, cols: u32)
Sets the column span of this cell. Cells to the right with values will be lost when writing.
Trait Implementations§
Source§impl GetSize for CellSpan
impl GetSize for CellSpan
Source§fn get_heap_size(&self) -> usize
fn get_heap_size(&self) -> usize
Determines how many bytes this object occupies inside the heap. Read more
Source§fn get_heap_size_with_tracker<TRACKER: GetSizeTracker>(
&self,
tracker: TRACKER,
) -> (usize, TRACKER)
fn get_heap_size_with_tracker<TRACKER: GetSizeTracker>( &self, tracker: TRACKER, ) -> (usize, TRACKER)
Determines how many bytes this object occupies inside the heap while using a
tracker. Read moreSource§fn get_stack_size() -> usize
fn get_stack_size() -> usize
Determines how may bytes this object occupies inside the stack. Read more
Source§fn get_size_with_tracker<T>(&self, tracker: T) -> (usize, T)where
T: GetSizeTracker,
fn get_size_with_tracker<T>(&self, tracker: T) -> (usize, T)where
T: GetSizeTracker,
Determines the total size of the object while using a
tracker. Read moreimpl Copy for CellSpan
Auto Trait Implementations§
impl Freeze for CellSpan
impl RefUnwindSafe for CellSpan
impl Send for CellSpan
impl Sync for CellSpan
impl Unpin for CellSpan
impl UnwindSafe for CellSpan
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