Struct swf_types::text::FontLayout [−][src]
pub struct FontLayout { pub ascent: u16, pub descent: u16, pub leading: u16, pub advances: Vec<u16>, pub bounds: Vec<Rect>, pub kerning: Vec<KerningRecord>, }
Fields
ascent: u16
descent: u16
leading: u16
advances: Vec<u16>
bounds: Vec<Rect>
kerning: Vec<KerningRecord>
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for FontLayout
impl Send for FontLayout
impl Sync for FontLayout
impl Unpin for FontLayout
impl UnwindSafe for FontLayout
Blanket Implementations
Mutably borrows from an owned value. Read more