pub struct AssStyle {
pub name: String,
pub font_name: String,
pub font_size: u32,
pub primary_color: Color,
pub secondary_color: Color,
pub outline_color: Color,
pub shadow_color: Color,
pub bold: bool,
pub italic: bool,
pub underline: bool,
pub alignment: i32,
}Expand description
ASS style definition for subtitle entries.
Fields§
§name: StringName identifier for this style
font_name: StringFont family name to use for rendering
font_size: u32Font size in points
primary_color: ColorPrimary text color
secondary_color: ColorSecondary text color for styling effects
outline_color: ColorOutline border color
shadow_color: ColorShadow color for text depth effect
bold: boolWhether text should be rendered in bold
italic: boolWhether text should be rendered in italic
underline: boolWhether text should be underlined
alignment: i32Text alignment value (1-9 for numpad positions)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssStyle
impl RefUnwindSafe for AssStyle
impl Send for AssStyle
impl Sync for AssStyle
impl Unpin for AssStyle
impl UnwindSafe for AssStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more