Struct gfx_glyph::SectionGlyphInfo [] [src]

pub struct SectionGlyphInfo<'a> {
    pub screen_position: (f32, f32),
    pub bounds: (f32, f32),
    pub text: Vec<GlyphInfo<'a>>,
    pub text_index: usize,
}

Fields

Position on screen to render text, in pixels from top-left.

Max (width, height) bounds, in pixels from top-left.

Methods

impl<'a> SectionGlyphInfo<'a>
[src]

[src]

Returns a clone info that has marked text up to index as processed, and GlyphInfo at index as input info

[src]

Trait Implementations

impl<'a> Debug for SectionGlyphInfo<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for SectionGlyphInfo<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, 'b> From<&'b VariedSection<'a>> for SectionGlyphInfo<'a>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> Send for SectionGlyphInfo<'a>

impl<'a> Sync for SectionGlyphInfo<'a>