diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-06 21:13:59 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-06 22:06:16 +0200 |
| commit | fd417da04f7ca4b995de7f6510abafd3e9c31307 (patch) | |
| tree | 3675529c75ca7363701ac8ea306de2cc1d3cbcb3 /library/src/prelude.rs | |
| parent | 168bdf35bd773e67343c965cb473492cc5cae9e7 (diff) | |
Improve value casting infrastructure
Diffstat (limited to 'library/src/prelude.rs')
| -rw-r--r-- | library/src/prelude.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/prelude.rs b/library/src/prelude.rs index 59b8a0a0..f0dda5c8 100644 --- a/library/src/prelude.rs +++ b/library/src/prelude.rs @@ -15,8 +15,8 @@ pub use typst::diag::{bail, error, At, SourceResult, StrResult}; pub use typst::doc::*; #[doc(no_inline)] pub use typst::eval::{ - array, cast_from_value, cast_to_value, dict, format_str, func, Args, Array, Cast, - CastInfo, Dict, Func, Never, Scope, Str, Symbol, Value, Vm, + array, cast, dict, format_str, func, Args, Array, AutoValue, Cast, Dict, FromValue, + Func, IntoValue, Never, NoneValue, Scope, Str, Symbol, Type, Value, Vm, }; #[doc(no_inline)] pub use typst::geom::*; |
