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
text: &'static str
screen_position: (f32, f32)
bounds: (f32, f32)
scale: Scale
color: [f32; 4]
Trait Implementations
impl Debug for StaticSection
[src]
impl Clone for StaticSection
[src]
fn clone(&self) -> StaticSection
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more