pub struct WorksheetView {
pub row: i32,
pub column: i32,
pub range: [i32; 4],
pub top_row: i32,
pub left_column: i32,
}Expand description
Represents the state of the worksheet as seen by the user. This includes details such as the currently selected cell, the visible range, and the position of the viewport.
Fields§
§row: i32The row index of the currently selected cell.
column: i32The column index of the currently selected cell.
range: [i32; 4]The selected range in the worksheet, specified as [start_row, start_column, end_row, end_column].
top_row: i32The row index of the topmost visible cell in the worksheet view.
left_column: i32The column index of the leftmost visible cell in the worksheet view.
Trait Implementations§
Source§impl Clone for WorksheetView
impl Clone for WorksheetView
Source§fn clone(&self) -> WorksheetView
fn clone(&self) -> WorksheetView
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 moreSource§impl Debug for WorksheetView
impl Debug for WorksheetView
Source§impl PartialEq for WorksheetView
impl PartialEq for WorksheetView
Source§fn eq(&self, other: &WorksheetView) -> bool
fn eq(&self, other: &WorksheetView) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'__de> Decode<'__de> for WorksheetViewwhere
'__de:,
impl Encode for WorksheetView
impl StructuralPartialEq for WorksheetView
Auto Trait Implementations§
impl Freeze for WorksheetView
impl RefUnwindSafe for WorksheetView
impl Send for WorksheetView
impl Sync for WorksheetView
impl Unpin for WorksheetView
impl UnsafeUnpin for WorksheetView
impl UnwindSafe for WorksheetView
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