Struct gfx_glyph::StaticSection [] [src]

pub struct StaticSection {
    pub text: &'static str,
    pub screen_position: (f32, f32),
    pub bounds: (f32, f32),
    pub scale: Scale,
    pub color: [f32; 4],
}

A section with a static str reference, equalent to Section<'static> but may avoid edge case compile issues. See Section

Fields

Trait Implementations

impl Debug for StaticSection
[src]

[src]

Formats the value using the given formatter.

impl Clone for StaticSection
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for StaticSection
[src]

[src]

Returns the "default value" for a type. Read more