[][src]Struct quicksilver::graphics::LayoutGlyph

pub struct LayoutGlyph {
    pub glyph: TextureGlyph,
    pub position: Vector,
    pub image: Image,
}

A glyph that has been laid-out and uploaded to the GPU, making it ready to render

Fields

glyph: TextureGlyph

What glyph this is, and what region of the image it takes up

position: Vector

Where the glyph should be drawn, relative to the beginning of its block of text

image: Image

The GPU texture where this glyph is stored

It is not the whole image! Use LayoutGlyph::glyph to find the region that the glyph lies in

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.