rocketsplash-rt 0.2.2

Runtime library for loading and rendering Rocketsplash assets (.rst, .rsf)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// <FILE>crates/rocketsplash-rt/src/fallback_mode.rs</FILE>
// <DESC>Fallback handling for missing glyphs</DESC>
// <VERS>VERSION: 1.0.0</VERS>
// <WCTX>Runtime library implementation</WCTX>
// <CLOG>Add FallbackMode enum for render behavior</CLOG>

/// Behavior when a glyph is missing during rendering.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
pub enum FallbackMode {
    #[default]
    Error,
    Skip,
    Replace(char),
}

// <FILE>crates/rocketsplash-rt/src/fallback_mode.rs</FILE>
// <VERS>END OF VERSION: 1.0.0</VERS>