Crate tinymist_std

Crate tinymist_std 

Source
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 and HashedTrait.
path
Path utilities.
time
Cross platform time utilities.
typst
Re-export of the typst crate.

Macros§

bail
Bails with the given arguments.
error_once
Creates an error with a message.
error_once_map
Maps the given error to an error with arguments.
error_once_map_string
Maps the given string error to an error with arguments.

Structs§

ArchivedDefId
An archived DefId
AsCowBytes
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.
DefIdResolver
The resolver for an archived DefId
QueryRef
Represents a reference to some lazily executed query. The compute function should be pure enough during call the compute and compute_with_context so that the query result is consistent through any implementations (the provided f).

Traits§

ArcInto
A trait for converting Arc<T> into Self.
FromArc
A trait for converting an Arc<T> into Self.
ReadAllOnce
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.
ImmutBytes
An immutable byte slice.
ImmutPath
An immutable path.
ImmutStr
An immutable string.