pub struct ColorGlyphs {
pub base_glyphs: IndexMap<GlyphName, Paint>,
}Expand description
Data to inform construction of COLR
Fields§
§base_glyphs: IndexMap<GlyphName, Paint>Trait Implementations§
Source§impl Clone for ColorGlyphs
impl Clone for ColorGlyphs
Source§fn clone(&self) -> ColorGlyphs
fn clone(&self) -> ColorGlyphs
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 ColorGlyphs
impl Debug for ColorGlyphs
Source§impl<'de> Deserialize<'de> for ColorGlyphs
impl<'de> Deserialize<'de> for ColorGlyphs
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
Source§impl PartialEq for ColorGlyphs
impl PartialEq for ColorGlyphs
Source§fn eq(&self, other: &ColorGlyphs) -> bool
fn eq(&self, other: &ColorGlyphs) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Persistable for ColorGlyphs
impl Persistable for ColorGlyphs
Source§impl Serialize for ColorGlyphs
impl Serialize for ColorGlyphs
impl StructuralPartialEq for ColorGlyphs
Auto Trait Implementations§
impl Freeze for ColorGlyphs
impl RefUnwindSafe for ColorGlyphs
impl Send for ColorGlyphs
impl Sync for ColorGlyphs
impl Unpin for ColorGlyphs
impl UnsafeUnpin for ColorGlyphs
impl UnwindSafe for ColorGlyphs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.