pub struct RenderCard {
pub buffer: GlyphBuffer,
pub atlas: FontAtlasDef,
pub atlas_image: Image,
pub table: ImageTable,
pub images: BTreeMap<ImageId, Image>,
pub clear: Rgb,
}Expand description
One fixed frame with every kind of thing a frame draws, and what paints it.
Fields§
§buffer: GlyphBufferThe frame.
atlas: FontAtlasDefThe font atlas: boxes and bars, the fallback glyph and a wide one.
atlas_image: ImageThe atlas’s picture.
table: ImageTableThe pictures’ table: the test card and the missing picture.
images: BTreeMap<ImageId, Image>The pictures there are: the test card alone.
clear: RgbThe console’s background.
Implementations§
Trait Implementations§
Source§impl Clone for RenderCard
impl Clone for RenderCard
Source§fn clone(&self) -> RenderCard
fn clone(&self) -> RenderCard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RenderCard
impl Debug for RenderCard
Source§impl PartialEq for RenderCard
impl PartialEq for RenderCard
impl StructuralPartialEq for RenderCard
Auto Trait Implementations§
impl !Send for RenderCard
impl !Sync for RenderCard
impl Freeze for RenderCard
impl RefUnwindSafe for RenderCard
impl Unpin for RenderCard
impl UnsafeUnpin for RenderCard
impl UnwindSafe for RenderCard
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