[−][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 |
macro_no_op | Constructs a |
pr | |
prn | Prints to the active |
str | Constructs a string. |
sym | Constructs a symbol. |
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 |
Gc | A weak pointer onto the garbage-collected heap. |
GcVal | Equivalent to |
GcVisitor | Visitor passed to an |
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. |
Obj | The |
RClass | GameLisp bindings for a particular Rust type. |
RClassBuilder | Builder used to define GameLisp bindings for a particular Rust type. |
RData | The |
RFn | The |
RGc | A strongly-typed, weakly-rooted pointer to an |
RGlobalRef | A reference to global data. |
RGlobalRefMut | A mutable reference to global data. |
RRef | A shared reference to an |
RRefMut | A mutable reference to an |
RRoot | A strongly-typed pointer to an |
Rest | An adapter type which collects any number of trailing function arguments. |
Root | A 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. |
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. |
IntoCallArgs | A type which can be converted into the arguments to a function call. |
IntoElement | A type which can be stored in a deque. |
IntoVal | A type which can be converted to a GameLisp value. |
IterableOps | The |
RGlobal | A marker trait for global data. |
Splay | A type which can be passed to the |
ToSym | A type which can be converted to a |
Functions
add_rglobal | Registers global data. |
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_representable_sym | Equivalent to |
is_valid_sym | Equivalent to |
is_valid_sym_char | Equivalent to |
lines | Equivalent to |
load | Equivalent to |
load_str | 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_rglobal | Unregisters and returns global data which was previously registered using
|
take_while | Equivalent to |
try_call | Calls a function with either verbose or brief error-reporting. |
windows | Equivalent to |
write_barrier | Notifies the garbage collector that an |
zip | Equivalent to |
Type Definitions
GResult |