book
Types
Values
pub fn erase(
book book: Book(content),
page page: Int,
row row: Int,
column column: Int,
) -> Book(content)
擦除 page 页 row 行 column 列的单元格内容
pub fn get_cell(
book book: Book(content),
page page: Int,
row row: Int,
column column: Int,
) -> cell.Cell(content)
获取 page 页 row 行 column 列的单元格
pub fn get_column(
book book: Book(content),
page page: Int,
column column: Int,
) -> List(cell.Cell(content))
获取 page 页 column 列的所有单元格
pub fn get_paper(
book book: Book(content),
page page: Int,
) -> paper.Paper(content)
获取指定 page 的纸张
页面不存在则返回空 Paper
pub fn get_row(
book book: Book(content),
page page: Int,
row row: Int,
) -> List(cell.Cell(content))
获取 page 页 row 行的所有单元格
pub fn read(
book book: Book(content),
page page: Int,
row row: Int,
column column: Int,
) -> option.Option(content)
读取指定 page、row 和 column 的单元格内容