Skip to main content

with_volume_grid_ref

Function with_volume_grid_ref 

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

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

Returns None if the volume grid does not exist.