Struct graphics::character::Character [−][src]
pub struct Character<'a, T: ImageSize> {
pub offset: [Scalar; 2],
pub advance_size: [Scalar; 2],
pub atlas_offset: [Scalar; 2],
pub atlas_size: [Scalar; 2],
pub texture: &'a T,
}Expand description
Holds rendered character data.
Fields
offset: [Scalar; 2]The offset of character.
advance_size: [Scalar; 2]The advance size of character, including space.
atlas_offset: [Scalar; 2]The offset of character within texture atlas.
atlas_size: [Scalar; 2]The size of character within texture atlas.
texture: &'a TThe texture of the character.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Character<'a, T> where
T: RefUnwindSafe,
impl<'a, T> UnwindSafe for Character<'a, T> where
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more