Struct simple_excel_writer::workbook::Workbook
source · [−]pub struct Workbook { /* private fields */ }
Implementations
sourceimpl Workbook
impl Workbook
sourcepub fn create_simple(xlsx_file: &str) -> Self
pub fn create_simple(xlsx_file: &str) -> Self
Creates a workbook not using shared strings
pub fn create_in_memory() -> Self
pub fn create_sheet(&mut self, sheet_name: &str) -> Sheet
pub fn close(&mut self) -> Result<Option<Vec<u8>>>
pub fn write_sheet<F>(&mut self, sheet: &mut Sheet, write_data: F) -> Result<()> where
F: FnOnce(&mut SheetWriter<'_, '_>) -> Result<()> + Sized,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Workbook
impl Send for Workbook
impl Sync for Workbook
impl Unpin for Workbook
impl UnwindSafe for Workbook
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more