Skip to main content

cljrs_value/
lib.rs

1#![allow(clippy::arc_with_non_send_sync)]
2pub mod clone;
3pub mod collections;
4pub mod error;
5pub mod hash;
6pub mod intern;
7pub mod jit_hooks;
8pub mod keyword;
9pub mod native_object;
10pub mod regex;
11pub mod resource;
12pub mod shared;
13pub mod symbol;
14pub mod types;
15pub mod value;
16
17pub use collections::{
18    PersistentArrayMap, PersistentHashMap, PersistentHashSet, PersistentList, PersistentQueue,
19    PersistentVector, SortedMap, SortedSet,
20};
21pub use error::{ExceptionInfo, ValueError, ValueResult};
22pub use hash::ClojureHash;
23pub use intern::{intern_keyword, intern_symbol};
24pub use jit_hooks::set_var_rebind_hook;
25pub use keyword::Keyword;
26pub use native_object::{NativeObject, NativeObjectBox, gc_native_object};
27pub use resource::{Resource, ResourceHandle};
28pub use shared::{PromoteError, SharedAtom, SharedValue, demote, promote};
29pub use symbol::Symbol;
30pub use types::{
31    Agent, Arity, Atom, BoundFn, CljxCons, CljxFn, CljxFnArity, CljxFuture, CljxPromise, Delay,
32    DelayState, FutureState, LazySeq, MultiFn, Namespace, NativeFn, NativeFnFunc, NativeFnPtr,
33    Protocol, ProtocolFn, ProtocolMethod, Thunk, Var, Volatile,
34};
35pub use value::{MapValue, ObjectArray, SetValue, TypeInstance, Value};