pub trait QuantRSModelExport {
// Required methods
fn to_quantrs_model(&self) -> Result<ModelExport>;
fn model_stats(&self) -> ModelStatistics;
}Expand description
Trait for models that can export to QuantRS2 format.
Required Methods§
Sourcefn to_quantrs_model(&self) -> Result<ModelExport>
fn to_quantrs_model(&self) -> Result<ModelExport>
Export the model to a QuantRS-compatible format.
Sourcefn model_stats(&self) -> ModelStatistics
fn model_stats(&self) -> ModelStatistics
Get model statistics for QuantRS integration.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".