pub struct Resources {
pub patches: Vec<Patch>,
pub color_stops: Vec<ColorStop>,
pub glyphs: Vec<Glyph>,
pub glyph_runs: Vec<GlyphRun>,
pub normalized_coords: Vec<NormalizedCoord>,
pub marks: Vec<Mark>,
}Expand description
Encoded data for late bound resources.
Fields§
§patches: Vec<Patch>Draw data patches for late bound resources.
color_stops: Vec<ColorStop>Color stop collection for gradients.
glyphs: Vec<Glyph>Positioned glyph buffer.
glyph_runs: Vec<GlyphRun>Sequences of glyphs.
normalized_coords: Vec<NormalizedCoord>Normalized coordinate buffer for variable fonts.
marks: Vec<Mark>Keyed boundaries in the draw stream (Mark). Never read by the GPU
pipeline.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Resources
impl !UnwindSafe for Resources
impl Forget for Resources
impl Freeze for Resources
impl Move for Resources
impl Send for Resources
impl Sync for Resources
impl Unpin for Resources
impl UnsafeUnpin for Resources
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more