mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-16 15:22:43 +00:00
10 lines
434 B
Rust
10 lines
434 B
Rust
//! Engine data (the text engine document of type layers, `TySh`): `craft-psd`'s
|
|
//! `engine_data`, re-exported. [`text_style`] is its typed view of the first style run.
|
|
|
|
pub use craft_psd::engine_data::{TextStyle, Value, minimal, parse, parse_lossy, write};
|
|
|
|
/// The first style run's character and paragraph attributes of a parsed document.
|
|
pub fn text_style(ed: &Value) -> TextStyle {
|
|
craft_psd::engine_data::first_style(ed)
|
|
}
|