[−][src]Crate glsp_engine
Macros
| arr | Constructs an array. |
| bail | Constructs a |
| ensure | Tests a condition, returning an error if the result is |
| epr | Prints to the active |
| eprn | Prints to the active |
| error | Constructs a |
| lib | Defines a library struct. |
| macro_no_op | Constructs a |
| pr | |
| prn | Prints to the active |
| rdata | Defines a struct which can be stored on the garbage-collected heap. |
| rfn | Wrap a function pointer or closure so that it can be passed to |
| str | Constructs a string. |
| syms | Define a struct which contains a collection of symbols. |
| tab | Constructs a table. |
| try_arr | A non-panicking version of |
| try_tab | A non-panicking version of |
Structs
| Arr | The |
| Class | The |
| Coro | The |
| GError | The error type generated by GameLisp code. |
| GFn | The |
| GIter | The |
| IterDeque | An infallible iterator over a deque's contents. |
| IterDequeTo | A converting iterator over a deque's contents. |
| IterTab | An infallible iterator over a table's |
| IterTabKeys | An infallible iterator over a table's keys. |
| IterTabKeysTo | A converting iterator over a table's keys. |
| IterTabTo | A converting iterator over a table's |
| IterTabValues | An infallible iterator over a table's values. |
| IterTabValuesTo | A converting iterator over a table's values. |
| LibRef | A reference to a library. |
| LibRefMut | A mutable reference to a library. |
| Obj | The |
| OrNil | A wrapper type for an |
| RClass | An implementation detail of the |
| RData | The |
| RFn | The |
| RRef | A shared reference to an |
| RRefMut | A mutable reference to an |
| RRoot | A strongly-typed reference to an |
| Root | A smart pointer onto the garbage-collected heap. |
| Str | The |
| Sym | The |
| Tab | The |
| TabEntries | An adapter struct which can be used to iterate over the contents of a table. |
| WrappedFn | Data required to construct an |
Enums
| Callable | A type-erased |
| CoroState | The return value for the |
| Deque | A type-erased |
| EnvMode | A lexical-environment capture mode. |
| Expander | A type-erased |
| Expansion | The return value for |
| GIterLen | The return value for |
| Iterable | A type-erased |
| Num | A type-erased |
| Val | Any GameLisp value. |
Constants
| GC_DEFAULT_RATIO | Equivalent to |
| GC_MIN_RATIO | Equivalent to |
Traits
| CallableOps | The |
| DequeAccess | Indexing the |
| DequeAccessRange | Indexing the |
| DequeIndex | An integer type which can be used as a deque index. |
| DequeOps | The |
| DequeRange | An integer range type which can be used to slice a deque. |
| FromElement | A type which can be extracted from a deque. |
| FromVal | A type which can be converted from a GameLisp value. |
| GSend | An auto trait for types which can be moved between one |
| GStore | An auto trait for types which can be stored on the garbage-collected heap. |
| IntoElement | A type which can be stored in a deque. |
| IntoResult | A type which can be returned from an |
| IterableOps | The |
| Lib | A type which can be passed to |
| MakeArg | A type which can act as an |
| RStore | A type which can be moved onto the garbage-collected heap as an |
| Splay | A type which can be passed to the |
| ToCallArgs | A type which can be converted into the arguments to a function call. |
| ToSym | A type which can be converted to a |
| ToVal | A type which can be converted to a GameLisp value. |
Functions
| add_lib | Registers an instance of a library type. |
| arr | Constructs an empty array. |
| arr_from_elem | Constructs an array which contains |
| arr_from_iter | Constructs an array from the contents of a Rust iterator. |
| arr_with_capacity | Constructs an empty array with space for at least |
| bind_global | Equivalent to |
| bind_macro | Equivalent to |
| bind_rfn | Binds a Rust function to a global variable. |
| bind_rfn_macro | Binds a Rust function to a global macro. |
| call | |
| chain | Equivalent to |
| chunks | Equivalent to |
| chunks_exact | Equivalent to |
| cloned | Equivalent to |
| coro_finish | Equivalent to |
| coro_run | Equivalent to |
| cycle | Equivalent to |
| deep_cloned | Equivalent to |
| del_global | Equivalent to |
| del_macro | Equivalent to |
| enumerate | Equivalent to |
| eval | Equivalent to |
| eval_multi | Equivalent to |
| expand | Equivalent to |
| expand_1 | Equivalent to |
| expand_multi | Equivalent to |
| file_location | Equivalent to |
| filter | Equivalent to |
| flatten | Equivalent to |
| freeze_global | Equivalent to |
| gc | Equivalent to |
| gc_ghost_bytes | Equivalent to |
| gc_old_bytes | Equivalent to |
| gc_ratio | Equivalent to |
| gc_set_ratio | Equivalent to |
| gc_young_bytes | Equivalent to |
| gensym | Equivalent to |
| gensym_with_tag | Equivalent to |
| get_macro | Equivalent to |
| global | Equivalent to |
| has_global | Equivalent to |
| has_macro | Equivalent to |
| is_valid_sym_char | Equivalent to |
| is_valid_sym_str | Equivalent to |
| lib | Equivalent to |
| lib_mut | Equivalent to |
| lines | Equivalent to |
| load | Equivalent to |
| map | Equivalent to |
| named_rfn | Creates a GameLisp value which represents a Rust function, with a name. |
| once | Equivalent to |
| once_with | Equivalent to |
| parse | Equivalent to |
| parse_1 | Equivalent to |
| parse_all | Equivalent to |
| rchunks | Equivalent to |
| rchunks_exact | Equivalent to |
| rdata | Moves a Rust value onto the garbage-collected heap. |
| repeat | Equivalent to |
| repeat_with | Equivalent to |
| require | Equivalent to |
| rev | Equivalent to |
| rfn | Creates a GameLisp value which represents a Rust function. |
| rn | Equivalent to |
| rni | Equivalent to |
| rroot | Moves a Rust value onto the garbage-collected heap, returning a typed pointer. |
| seed_gensym | Makes future gensyms globally unique. |
| set_epr_writer | Changes the output writer used by |
| set_global | Equivalent to |
| set_macro | Equivalent to |
| set_pr_writer | |
| skip | Equivalent to |
| skip_while | Equivalent to |
| split | Equivalent to |
| stack_trace | Equivalent to |
| step_by | Equivalent to |
| str | Constructs an empty string. |
| str_from_iter | Constructs a string from the characters in a Rust iterator. |
| str_from_rust_str | Constructs an empty string with the same contents as a Rust string slice. |
| str_with_capacity | Constructs an empty string with space for at least |
| sym | Equivalent to |
| tab | Constructs an empty table. |
| tab_from_iter | Constructs a table from the key/value pairs in a Rust iterator. |
| tab_with_capacity | Constructs an empty table with space for at least |
| take | Equivalent to |
| take_lib | Unregisters a value previously registered using |
| take_while | Equivalent to |
| try_call | Calls a function with either verbose or brief error-reporting. |
| try_lib | Equivalent to |
| try_lib_mut | Equivalent to |
| windows | Equivalent to |
| zip | Equivalent to |
Type Definitions
| GResult |