wordchipper 0.9.2

HPC Rust LLM Tokenizer Library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! # Trait Compatibility and Utility

/// Static if a type is `Send`.
pub fn static_is_send_check<S: Send>(_: &S) {}

/// Check if a type is `Sync`.
pub fn static_is_sync_check<S: Sync>(_: &S) {}

/// Check if a type is `Send` and `Sync`.
pub fn static_is_send_sync_check<S: Send + Sync>(v: &S) {
    static_is_send_check(v);
    static_is_sync_check(v);
}