Skip to content
API REFERENCEUsage guides →

cellpack::runtime::get ​

fn

Module contract · All interfaces

At a glance ​

pub fn get() -> Result<&'static Runtime>

The bound settings, binding them from the environment on first use.

A CELLPACK_KERNELS value that does not name a kernel set is an error here, on the first call that has to read the environment.

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition