pub trait FromArgs<'a>: Sized {
    // Required method
    fn from_args(args: &'a Args, index: usize) -> Result<Self, KclError>;
}Expand description
Types which impl this trait can be read out of the Args passed into a KCL function.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.