Skip to main content

AddCellFn

Type Alias AddCellFn 

Source
pub type AddCellFn = fn(&mut Sheet, Box<dyn Any>) -> CellId;
Expand description

Adds a typed cell from a boxed value and returns its handle.

  • Precondition: the box contains the exact registered concrete type.
  • Complexity: follows [Sheet::add_cell].

ยงExamples

See TypeEntry for creating a cell through its selected registration.