Skip to main content

ToInstructions

Trait ToInstructions 

Source
pub trait ToInstructions {
    // Required method
    fn to_instructions(self) -> Result<Instructions, FMError>;
}
Expand description

Convert a Rust value into FoundationModels instructions.

Required Methods§

Source

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".

Implementations on Foreign Types§

Source§

impl ToInstructions for &str

Source§

impl ToInstructions for String

Implementors§