pub struct RowHeight {
pub row: u32,
pub height: f64,
pub custom_height: bool,
pub hidden: bool,
pub thick_top: bool,
pub thick_bottom: bool,
}Expand description
Row height information
Fields§
§row: u32Row index (0-based)
height: f64Height in points
custom_height: boolWhether the height is custom (manually set)
Whether the row is hidden
thick_top: boolThick top border
thick_bottom: boolThick bottom border
Implementations§
Source§impl RowHeight
impl RowHeight
Sourcepub fn with_custom_height(self, custom: bool) -> Self
pub fn with_custom_height(self, custom: bool) -> Self
Set custom height flag
Set hidden flag
Sourcepub fn with_thick_top(self, thick_top: bool) -> Self
pub fn with_thick_top(self, thick_top: bool) -> Self
Set thick top border
Sourcepub fn with_thick_bottom(self, thick_bottom: bool) -> Self
pub fn with_thick_bottom(self, thick_bottom: bool) -> Self
Set thick bottom border
Sourcepub fn is_visible(&self) -> bool
pub fn is_visible(&self) -> bool
Check if row is visible
Trait Implementations§
impl StructuralPartialEq for RowHeight
Auto Trait Implementations§
impl Freeze for RowHeight
impl RefUnwindSafe for RowHeight
impl Send for RowHeight
impl Sync for RowHeight
impl Unpin for RowHeight
impl UnsafeUnpin for RowHeight
impl UnwindSafe for RowHeight
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