Docs.rs
truce-core-0.48.11
truce-core 0.48.11
Permalink
Docs.rs crate page
Links
Homepage
Repository
crates.io
Source
Owners
mahaekoh
Dependencies
png ^0.18
normal
truce-params ^0.48.11
normal
truce-utils ^0.48.11
normal
Versions
51.59%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module info
truce_
core
0.48.11
Module info
Module Items
Structs
Enums
Functions
In crate truce_
core
truce_core
Module
info
Copy item path
Source
Structs
§
Plugin
Info
Static metadata about a plugin.
Enums
§
Plugin
Category
Functions
§
category_
from_
str
Convert a category string to
PluginCategory
at compile time. Used by the
plugin_info!()
macro.
fourcc
Helper to convert a 4-char string literal to
[u8; 4]
at compile time. Panics if the string is not exactly 4 ASCII bytes.
resolve_
name_
override
Resolve a format’s display-name override. Each wrapper picks its own
<format>_name
field off
PluginInfo
and passes the result here along with the
PluginInfo::name
fallback. Empty overrides (unset or set to
""
) fall through to
fallback
.