pub struct MergedCell {
pub row: i32,
pub column: i32,
pub width: i32,
pub height: i32,
}Expand description
A rectangular range of cells that is displayed as a single cell. The anchor (top-left) cell holds the content and is the only cell of the range users can edit; every other cell of the range is “covered” and must stay empty of content, although it can hold styles.
Fields§
§row: i32Row of the anchor (top-left) cell
column: i32Column of the anchor (top-left) cell
width: i32Number of columns of the merged range (>= 1)
height: i32Number of rows of the merged range (>= 1)
Implementations§
Trait Implementations§
Source§impl Clone for MergedCell
impl Clone for MergedCell
Source§fn clone(&self) -> MergedCell
fn clone(&self) -> MergedCell
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 moreimpl Copy for MergedCell
Source§impl Debug for MergedCell
impl Debug for MergedCell
impl<'__de> Decode<'__de> for MergedCellwhere
'__de:,
Source§impl<'de> Deserialize<'de> for MergedCell
impl<'de> Deserialize<'de> for MergedCell
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 Encode for MergedCell
impl Eq for MergedCell
Source§impl PartialEq for MergedCell
impl PartialEq for MergedCell
Source§impl Serialize for MergedCell
impl Serialize for MergedCell
impl StructuralPartialEq for MergedCell
Auto Trait Implementations§
impl Freeze for MergedCell
impl RefUnwindSafe for MergedCell
impl Send for MergedCell
impl Sync for MergedCell
impl Unpin for MergedCell
impl UnsafeUnpin for MergedCell
impl UnwindSafe for MergedCell
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