pub struct Prefs {
pub enter_direction: String,
pub autocomplete: bool,
pub user_name: String,
pub default_font: String,
pub default_font_size: f32,
pub sheets_in_new_workbook: usize,
pub r1c1: bool,
pub user_dictionary: Vec<String>,
pub formula_bar: bool,
pub status_bar: StatusBarStats,
pub recent_functions: Vec<String>,
}Expand description
Engine-side preferences.
Fields§
§enter_direction: StringAfter pressing Enter, move the selection: “down”, “right”, “up”, “left”, “none”.
autocomplete: bool§user_name: String§default_font: String§default_font_size: f32§sheets_in_new_workbook: usize§r1c1: bool§user_dictionary: Vec<String>Words added with Add to Dictionary.
formula_bar: boolView › Show › Formula Bar (an application option in Excel, not saved in the file).
status_bar: StatusBarStatsThe statistics the status bar shows for a selection (right-click the status bar).
recent_functions: Vec<String>Formulas › Recently Used: the functions most recently entered in a formula, newest first
(at most recent::MAX; see recent). An application list, as in Excel.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Prefs
impl<'de> Deserialize<'de> for Prefs
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
Auto Trait Implementations§
impl Freeze for Prefs
impl RefUnwindSafe for Prefs
impl Send for Prefs
impl Sync for Prefs
impl Unpin for Prefs
impl UnsafeUnpin for Prefs
impl UnwindSafe for Prefs
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