pub struct FontCatalogMetadata {
pub entries: Vec<FontCatalogEntry>,
pub revision: u64,
}Expand description
Best-effort catalog metadata (entries + revision).
The revision is expected to be monotonic and should generally match FontCatalog.revision when
both are set by the runner.
Fields§
§entries: Vec<FontCatalogEntry>§revision: u64Monotonic revision that increments when the effective entry list changes.
Trait Implementations§
Source§impl Clone for FontCatalogMetadata
impl Clone for FontCatalogMetadata
Source§fn clone(&self) -> FontCatalogMetadata
fn clone(&self) -> FontCatalogMetadata
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 FontCatalogMetadata
impl Debug for FontCatalogMetadata
Source§impl Default for FontCatalogMetadata
impl Default for FontCatalogMetadata
Source§fn default() -> FontCatalogMetadata
fn default() -> FontCatalogMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FontCatalogMetadatawhere
FontCatalogMetadata: Default,
impl<'de> Deserialize<'de> for FontCatalogMetadatawhere
FontCatalogMetadata: Default,
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 FontCatalogMetadata
impl PartialEq for FontCatalogMetadata
Source§impl Serialize for FontCatalogMetadata
impl Serialize for FontCatalogMetadata
impl Eq for FontCatalogMetadata
impl StructuralPartialEq for FontCatalogMetadata
Auto Trait Implementations§
impl Freeze for FontCatalogMetadata
impl RefUnwindSafe for FontCatalogMetadata
impl Send for FontCatalogMetadata
impl Sync for FontCatalogMetadata
impl Unpin for FontCatalogMetadata
impl UnsafeUnpin for FontCatalogMetadata
impl UnwindSafe for FontCatalogMetadata
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