pub struct SheetConfig {Show 15 fields
pub cursor_x: u32,
pub cursor_y: u32,
pub hor_split_mode: SplitMode,
pub vert_split_mode: SplitMode,
pub hor_split_pos: u32,
pub vert_split_pos: u32,
pub active_split_range: i16,
pub position_left: u32,
pub position_right: u32,
pub position_top: u32,
pub position_bottom: u32,
pub zoom_type: i16,
pub zoom_value: i32,
pub page_view_zoom_value: i32,
pub show_grid: bool,
}Expand description
Per sheet configurations.
Fields§
§cursor_x: u32Active column.
cursor_y: u32Active row.
hor_split_mode: SplitModeSplitting the table.
vert_split_mode: SplitModeSplitting the table.
hor_split_pos: u32Position of the split.
vert_split_pos: u32Position of the split.
active_split_range: i16SplitMode is Pixel
- 0-4 indicates the quadrant where the focus is.
SplitMode is Cell
- No real function.
position_left: u32SplitMode is Pixel
- First visible column in the left quadrant.
SplitMode is Cell
- The first visible column in the left quadrant. AND every column left of this one is simply invisible.
position_right: u32SplitMode is Pixel
- First visible column in the right quadrant.
SplitMode is Cell
- The first visible column in the right quadrant.
position_top: u32SplitMode is Pixel
- First visible row in the top quadrant.
SplitMode is Cell
- The first visible row in the top quadrant. AND every row up from this one is simply invisible.
position_bottom: u32SplitMode is Pixel
- The first visible row in teh right quadrant.
SplitMode is Cell
- The first visible row in the bottom quadrant.
zoom_type: i16If 0 then zoom_value denotes a percentage. If 2 then zoom_value is 50%???
zoom_value: i32Value of zoom.
page_view_zoom_value: i32Value of pageview zoom.
show_grid: boolGrid is showing.
Trait Implementations§
Source§impl Clone for SheetConfig
impl Clone for SheetConfig
Source§fn clone(&self) -> SheetConfig
fn clone(&self) -> SheetConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SheetConfig
impl Debug for SheetConfig
Source§impl Default for SheetConfig
impl Default for SheetConfig
Source§impl GetSize for SheetConfig
impl GetSize for SheetConfig
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 moreAuto Trait Implementations§
impl Freeze for SheetConfig
impl RefUnwindSafe for SheetConfig
impl Send for SheetConfig
impl Sync for SheetConfig
impl Unpin for SheetConfig
impl UnwindSafe for SheetConfig
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