Skip to main content

TextCfg

Type Alias TextCfg 

Source
pub type TextCfg = TextFxConfig;

Aliased Type§

pub struct TextCfg {
Show 23 fields pub id: String, pub text: String, pub effect: TextFxEffect, pub timing: TextFxTiming, pub split: TextSplit, pub reduced_motion: ReducedMotion, pub performance_profile: TextFxPerformanceProfile, pub gpu_budget: TextFxGpuBudget, pub render_preference: TextFxRenderPreference, pub layout_reserve: TextFxLayoutReserve, pub trigger: TextFxTrigger, pub direction: TextFxDirection, pub playback: TextFxPlayback, pub intensity: f32, pub palette: Vec<String>, pub charset: String, pub cursor: bool, pub from: Option<f64>, pub to: Option<f64>, pub fx: Option<String>, pub lifecycle: TextFxLifecycle, pub marks: Vec<TokenMark>, pub choreography: Vec<TextFxChoreography>,
}

Fields§

§id: String§text: String§effect: TextFxEffect§timing: TextFxTiming§split: TextSplit§reduced_motion: ReducedMotion§performance_profile: TextFxPerformanceProfile§gpu_budget: TextFxGpuBudget§render_preference: TextFxRenderPreference§layout_reserve: TextFxLayoutReserve§trigger: TextFxTrigger§direction: TextFxDirection§playback: TextFxPlayback§intensity: f32§palette: Vec<String>§charset: String§cursor: bool§from: Option<f64>§to: Option<f64>§fx: Option<String>§lifecycle: TextFxLifecycle§marks: Vec<TokenMark>§choreography: Vec<TextFxChoreography>