book/paper/cell

Types

Cell

opaque

单元格

可以读写内容

pub opaque type Cell(content)

Values

pub fn new() -> Cell(content)

创建一个空的单元格

pub fn read(cell cell: Cell(content)) -> option.Option(content)

读取单元格内容

pub fn write(content content: content) -> Cell(content)

返回新的已写入内容的单元格

Search Document