pub struct ArchivedBitmapFontwhere
HashMap<char, BitmapGlyph>: Archive,
Option<HashMap<(char, char), f32>>: Archive,
f32: Archive,
u32: Archive,{
pub glyphs: Archived<HashMap<char, BitmapGlyph>>,
pub kerning_table: Archived<Option<HashMap<(char, char), f32>>>,
pub ascent: Archived<f32>,
pub descent: Archived<f32>,
pub line_gap: Archived<f32>,
pub padding: Archived<u32>,
}
Expand description
An archived BitmapFont
Fields§
§glyphs: Archived<HashMap<char, BitmapGlyph>>
The archived counterpart of BitmapFont::glyphs
kerning_table: Archived<Option<HashMap<(char, char), f32>>>
The archived counterpart of BitmapFont::kerning_table
ascent: Archived<f32>
The archived counterpart of BitmapFont::ascent
descent: Archived<f32>
The archived counterpart of BitmapFont::descent
line_gap: Archived<f32>
The archived counterpart of BitmapFont::line_gap
padding: Archived<u32>
The archived counterpart of BitmapFont::padding
Auto Trait Implementations§
impl Freeze for ArchivedBitmapFont
impl RefUnwindSafe for ArchivedBitmapFont
impl Send for ArchivedBitmapFont
impl Sync for ArchivedBitmapFont
impl !Unpin for ArchivedBitmapFont
impl UnwindSafe for ArchivedBitmapFont
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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