Skip to main content

CompartmentMesh

Trait CompartmentMesh 

Source
pub trait CompartmentMesh:
    Send
    + Sync
    + CompartmentMeshAccessor
    + CompartmentMeshManip { }
Expand description

A compartment mesh grid.

This trait is automatically implemented for any type that implements both CompartmentMeshAccessor and CompartmentMeshManip, and is thread-safe (Send + Sync). It provides a unified interface for operations on compartment meshes, ensuring that such types can be used in concurrent programming contexts safely.

Implementors§

Source§

impl<T: CompartmentMeshAccessor + CompartmentMeshManip + Send + Sync> CompartmentMesh for T

Automatically implements CompartmentMesh for any type T that implements both CompartmentMeshAccessor and CompartmentMeshManip, and is thread-safe.

This blanket implementation ensures that any type meeting these criteria can be used wherever a CompartmentMesh is required, without explicit implementation.