pub struct Sheet<'a, W: Write + Seek> {
pub name: String,
/* private fields */
}Expand description
A single worksheet within an XLSX workbook.
Obtained from WorkBook::new_worksheet.
Write rows with write_row, then call
close when finished.
§Example
let mut sheet = wb.new_worksheet("My Sheet".to_string()).unwrap();
sheet.write_row([b"Col A".as_ref(), b"Col B"].into_iter(), None).unwrap();
sheet.close().unwrap();Fields§
§name: StringName of this sheet as it appears in the Excel tab bar.
Implementations§
Auto Trait Implementations§
impl<'a, W> Freeze for Sheet<'a, W>
impl<'a, W> RefUnwindSafe for Sheet<'a, W>where
W: RefUnwindSafe,
impl<'a, W> Send for Sheet<'a, W>where
W: Send,
impl<'a, W> Sync for Sheet<'a, W>where
W: Sync,
impl<'a, W> Unpin for Sheet<'a, W>
impl<'a, W> UnsafeUnpin for Sheet<'a, W>
impl<'a, W> !UnwindSafe for Sheet<'a, W>
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