pub struct Sheet {
pub name: String,
/* private fields */
}Fields§
§name: StringImplementations§
Source§impl Sheet
impl Sheet
pub fn dimensions(&self) -> (usize, usize)
Sourcepub fn from_rows(name: String, rows: Vec<Vec<Cell>>) -> Self
pub fn from_rows(name: String, rows: Vec<Vec<Cell>>) -> Self
Build a Sheet from a pre-shaped grid. Used by the CSV backend
internally; also public so third-party callers (notably the
PyO3 bridge in the sibling wolfxl cdylib) can feed externally-
sourced rows through infer_sheet_schema / classify_sheet
without reading from disk. No styles / number formats are
attached - callers with that information should set
Cell::number_format on the cells they build.
pub fn rows(&self) -> &[Vec<Cell>]
pub fn row(&self, idx: usize) -> Option<&[Cell]>
Auto Trait Implementations§
impl Freeze for Sheet
impl RefUnwindSafe for Sheet
impl Send for Sheet
impl Sync for Sheet
impl Unpin for Sheet
impl UnsafeUnpin for Sheet
impl UnwindSafe for Sheet
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