pub struct FontMetadata {
pub atlas_path: PathBuf,
pub atlas_width: u32,
pub atlas_height: u32,
pub line_height: u32,
pub glyphs: BTreeMap<String, GlyphMetadata>,
}Fields§
§atlas_path: PathBuf§atlas_width: u32§atlas_height: u32§line_height: u32§glyphs: BTreeMap<String, GlyphMetadata>Trait Implementations§
Source§impl Clone for FontMetadata
impl Clone for FontMetadata
Source§fn clone(&self) -> FontMetadata
fn clone(&self) -> FontMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 FontMetadata
impl Debug for FontMetadata
Source§impl<'de> Deserialize<'de> for FontMetadata
impl<'de> Deserialize<'de> for FontMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FontMetadata
impl RefUnwindSafe for FontMetadata
impl Send for FontMetadata
impl Sync for FontMetadata
impl Unpin for FontMetadata
impl UnwindSafe for FontMetadata
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