Skip to main content

block_value

Function block_value 

Source
pub fn block_value(doc: &Document, new: NewBlock) -> Block
Expand description

The block block stamps, as a value — for a caller that needs it in hand as well as in the commit. An embed does: the boundary its ports slot onto is this block’s, and the index has no row for it yet (clipboard::paste_into_fresh).