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