pub struct Book {
pub sheets: Vec<Sheet>,
pub current_sheet: usize,
pub dependencies: DependencyTree,
/* private fields */
}
Fields§
§sheets: Vec<Sheet>
§current_sheet: usize
§dependencies: DependencyTree
Implementations§
Source§impl Book
impl Book
pub fn new() -> Book
pub fn load(&mut self, progress: bool) -> Result<(), Error>
pub fn load_styles(&mut self) -> Result<(), Error>
pub fn load_sheet_names(&mut self) -> Result<(), Error>
pub fn load_sheets(&mut self, progress: bool) -> Result<(), Error>
pub fn load_sheets_dimensions(&mut self) -> Result<(), Error>
pub fn load_sheet_dimensions(&mut self, sheet_idx: usize) -> Result<(), Error>
pub fn load_sheet( &mut self, sheet_idx: usize, progress: bool, ) -> Result<(), Error>
pub fn zip_from_path(path: &str) -> ZipType
pub fn decode_text_event( reader: &Reader<BufReader<ZipFile<'_>>>, e: &BytesText<'_>, ) -> String
pub fn decode_attribute_usize( reader: &Reader<BufReader<ZipFile<'_>>>, a: Attribute<'_>, ) -> usize
pub fn decode_style( reader: &Reader<BufReader<ZipFile<'_>>>, e: &BytesStart<'_>, ) -> Style
pub fn get_mut_sheet_by_name<'a>(&'a mut self, s: &'a str) -> &'a mut Sheet
pub fn get_mut_sheet_by_idx(&mut self, idx: usize) -> &mut Sheet
pub fn get_sheet_by_name(&self, s: String) -> &Sheet
pub fn get_sheet_by_idx(&self, idx: usize) -> &Sheet
pub fn resolve_str_ref(&self, s: &str) -> Result<Array2<Value>, Error>
pub fn resolve_ref(&self, expr: Expr) -> Result<Array2<Value>, Error>
pub fn calculate_cell( &mut self, cell_id: &CellId, debug: bool, ) -> Result<(), Error>
pub fn is_calculated(&self, expr: Expr) -> bool
pub fn calculate(&mut self, debug: bool, progress: bool) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Book
impl RefUnwindSafe for Book
impl Send for Book
impl Sync for Book
impl Unpin for Book
impl UnwindSafe for Book
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