Expand description
Additional functions wrapping Rust’s standard library.
Re-exports§
pub use error::ErrKind;
pub use error::Error;
pub use error::Result;
pub use typst_shim;
Modules§
- adt
- This module contains the implementation of the abstract data types.
- cow_mut
- https://github.com/rust-analyzer/rowan/blob/v0.16.1/src/cow_mut.rs
- error
- Error handling utilities for the
tinymist
crate. - fs
- Filesystem support for tinymist.
- hash
- The hash extension module. It provides extra concepts like
Fingerprint
andHashedTrait
. - path
- Path utilities.
- time
- Cross platform time utilities.
- typst
- Re-export of the typst crate.
Macros§
Structs§
- Archived
DefId - An archived
DefId
- AsCow
Bytes - A marker type for serializing and deserializing
Cow<[u8]>
as base64. - DefId
- The local id of an item. This id is only unique within a task or process.
- DefId
Resolver - The resolver for an archived
DefId
- Query
Ref - Represents a reference to some lazily executed query.
The compute function should be pure enough during call the
compute
andcompute_ref
so that the query result is consistent through any implementations (the providedf
).
Traits§
- ArcInto
- A trait for converting
Arc<T>
intoSelf
. - FromArc
- A trait for converting an
Arc<T>
intoSelf
. - Read
AllOnce - A trait for reading all data from a source into a buffer.
- TakeAs
- Trait for values being taken.
Type Aliases§
- CowStr
- A copy-on-write static string.
- Immut
Bytes - An immutable byte slice.
- Immut
Path - An immutable path.
- Immut
Str - An immutable string.