Struct glyph_brush::GlyphVertex
source · [−]pub struct GlyphVertex<'x, X = Extra> {
pub tex_coords: Rect,
pub pixel_coords: Rect,
pub bounds: Rect,
pub extra: &'x X,
}
Expand description
Data used to generate vertex information for a single glyph
Fields
tex_coords: Rect
pixel_coords: Rect
bounds: Rect
extra: &'x X
Trait Implementations
Auto Trait Implementations
impl<'x, X> RefUnwindSafe for GlyphVertex<'x, X> where
X: RefUnwindSafe,
impl<'x, X> Send for GlyphVertex<'x, X> where
X: Sync,
impl<'x, X> Sync for GlyphVertex<'x, X> where
X: Sync,
impl<'x, X> Unpin for GlyphVertex<'x, X>
impl<'x, X> UnwindSafe for GlyphVertex<'x, X> where
X: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more