Struct swf_tree::tags::DefineFont
source · pub struct DefineFont {
pub id: u16,
pub font_name: String,
pub is_small: bool,
pub is_shift_jis: bool,
pub is_ansi: bool,
pub is_italic: bool,
pub is_bold: bool,
pub language: LanguageCode,
pub glyphs: Option<Vec<Glyph>>,
pub code_units: Option<Vec<u16>>,
pub layout: Option<FontLayout>,
}
Fields§
§id: u16
§font_name: String
§is_small: bool
§is_shift_jis: bool
§is_ansi: bool
§is_italic: bool
§is_bold: bool
§language: LanguageCode
§glyphs: Option<Vec<Glyph>>
§code_units: Option<Vec<u16>>
§layout: Option<FontLayout>
Trait Implementations§
source§impl Debug for DefineFont
impl Debug for DefineFont
source§impl<'de> Deserialize<'de> for DefineFont
impl<'de> Deserialize<'de> for DefineFont
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more