Skip to main content

with_volume_grid

Function with_volume_grid 

Source
pub fn with_volume_grid<F, R>(name: &str, f: F) -> Option<R>
where F: FnOnce(&mut VolumeGrid) -> R,
Expand description

Executes a closure with mutable access to a registered volume grid.

Returns None if the volume grid does not exist.