Crate neptune_lang
source · [−]Expand description
Example
use neptune_lang::*;
let vm = VM::new(NoopModuleLoader);
vm.exec_sync("<script>", "/*do nothing*/").unwrap();
Structs
This type represents the Error
class of Neptune lang.
Represents a resource. It can be used efuncs that return resources
Instance of a Neptune VM
Enums
This enum can be used to represent errors that can either be an EFuncError or another error type.
EFuncError
s can be converted to EFuncErrorOr using the ? operator.
Traits
The embedder needs to implement this trait to specify how to resolve import paths
Types that can be converted to Neptune values implement this trait Example: