#[non_exhaustive]pub struct SpreadsheetLabels {Show 17 fields
pub grid: String,
pub formula: String,
pub undo: String,
pub redo: String,
pub bold: String,
pub italic: String,
pub underline: String,
pub strikethrough: String,
pub align_left: String,
pub align_center: String,
pub align_right: String,
pub currency: String,
pub percent: String,
pub auto_sum: String,
pub open: String,
pub save: String,
pub add_sheet: String,
}Expand description
The text a spreadsheet shows.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.grid: StringThe grid’s name, for screen readers.
formula: StringThe formula bar’s hint.
undo: StringUndoes the last change.
redo: StringRedoes what was undone.
bold: StringBold.
italic: StringItalic.
underline: StringUnderline.
strikethrough: StringStrikethrough.
align_left: StringAligns to the left.
align_center: StringCenters.
align_right: StringAligns to the right.
currency: StringThe currency format.
percent: StringThe percentage format.
auto_sum: StringSums the cells above or to the left.
open: StringOpens a file.
save: StringSaves the workbook as .xlsx.
add_sheet: StringAdds a sheet.
Implementations§
Source§impl SpreadsheetLabels
impl SpreadsheetLabels
Sourcepub fn for_culture(culture: &str) -> Self
pub fn for_culture(culture: &str) -> Self
The labels for a language and region such as pt-BR.
Sourcepub fn from_texts(texts: &Texts) -> Self
pub fn from_texts(texts: &Texts) -> Self
The texts of a catalog, in its language. What it does not have comes from English.
Trait Implementations§
Source§impl Clone for SpreadsheetLabels
impl Clone for SpreadsheetLabels
Source§fn clone(&self) -> SpreadsheetLabels
fn clone(&self) -> SpreadsheetLabels
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 SpreadsheetLabels
impl Debug for SpreadsheetLabels
Auto Trait Implementations§
impl Freeze for SpreadsheetLabels
impl RefUnwindSafe for SpreadsheetLabels
impl Send for SpreadsheetLabels
impl Sync for SpreadsheetLabels
impl Unpin for SpreadsheetLabels
impl UnsafeUnpin for SpreadsheetLabels
impl UnwindSafe for SpreadsheetLabels
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