[][src]Struct swf_tree::tags::DefineFont

pub struct DefineFont {
    pub id: u16,
    pub font_name: String,
    pub is_bold: bool,
    pub is_italic: bool,
    pub is_ansi: bool,
    pub is_small: bool,
    pub is_shift_jis: bool,
    pub em_square_size: EmSquareSize,
    pub language: LanguageCode,
    pub glyphs: Option<Vec<Glyph>>,
    pub code_units: Option<Vec<u16>>,
    pub layout: Option<FontLayout>,
}

Fields

id: u16font_name: Stringis_bold: boolis_italic: boolis_ansi: boolis_small: boolis_shift_jis: boolem_square_size: EmSquareSizelanguage: LanguageCodeglyphs: Option<Vec<Glyph>>code_units: Option<Vec<u16>>layout: Option<FontLayout>

Trait Implementations

impl Clone for DefineFont[src]

impl Eq for DefineFont[src]

impl Ord for DefineFont[src]

impl PartialEq<DefineFont> for DefineFont[src]

impl PartialOrd<DefineFont> for DefineFont[src]

impl Debug for DefineFont[src]

impl Hash for DefineFont[src]

impl Serialize for DefineFont[src]

impl<'de> Deserialize<'de> for DefineFont[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]