Skip to main content

place_at_anchor

Function place_at_anchor 

Source
pub(crate) async fn place_at_anchor(
    state: &AppState,
    tab_id: &str,
    block_id: &str,
    anchor: &Anchor,
) -> Result<(), String>
Expand description

Put block_id beside the neighbour anchor names, on its recorded side and with its recorded share. Falls back to the layout’s next free place when that pane is gone by now (place_block).