pub trait FromKclValue<'a>: Sized {
// Required method
fn from_mem_item(arg: &'a KclValue) -> Option<Self>;
}
Expand description
Types which impl this trait can be extracted from a KclValue
.
Required Methods§
sourcefn from_mem_item(arg: &'a KclValue) -> Option<Self>
fn from_mem_item(arg: &'a KclValue) -> Option<Self>
Try to convert a KclValue into this type.
Object Safety§
This trait is not object safe.