pub struct Workbook {
pub shared_strings: Vec<String>,
pub defined_names: Vec<DefinedName>,
pub worksheets: Vec<Worksheet>,
pub styles: Styles,
pub name: String,
pub settings: WorkbookSettings,
pub metadata: Metadata,
pub tables: HashMap<String, Table>,
pub views: HashMap<u32, WorkbookView>,
pub theme: Theme,
}Expand description
An internal representation of an IronCalc Workbook
Fields§
§defined_names: Vec<DefinedName>§worksheets: Vec<Worksheet>§styles: Styles§name: String§settings: WorkbookSettings§metadata: Metadata§tables: HashMap<String, Table>§views: HashMap<u32, WorkbookView>§theme: ThemeImplementations§
Source§impl Workbook
impl Workbook
pub fn get_worksheet_names(&self) -> Vec<String>
pub fn get_worksheet_ids(&self) -> Vec<u32>
pub fn worksheet(&self, worksheet_index: u32) -> Result<&Worksheet, String>
pub fn worksheet_mut( &mut self, worksheet_index: u32, ) -> Result<&mut Worksheet, String>
Sourcepub fn get_defined_names_with_scope(&self) -> Vec<DefinedNameS> ⓘ
pub fn get_defined_names_with_scope(&self) -> Vec<DefinedNameS> ⓘ
Returns the a list of defined names in the workbook with their scope
Trait Implementations§
impl<'__de> Decode<'__de> for Workbookwhere
'__de:,
impl Encode for Workbook
impl StructuralPartialEq for Workbook
Auto Trait Implementations§
impl Freeze for Workbook
impl RefUnwindSafe for Workbook
impl Send for Workbook
impl Sync for Workbook
impl Unpin for Workbook
impl UnsafeUnpin for Workbook
impl UnwindSafe for Workbook
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