pub trait ToInstructions {
// Required method
fn to_instructions(self) -> Result<Instructions, FMError>;
}Expand description
Convert a Rust value into FoundationModels instructions.
Required Methods§
Sourcefn to_instructions(self) -> Result<Instructions, FMError>
fn to_instructions(self) -> Result<Instructions, FMError>
Convert the value into instructions.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".