pub struct FontFamilyReport {
pub requested: String,
pub family: Option<String>,
pub discovery: FontDiscovery,
pub support: FontSupport,
pub variants: Vec<FontVariantReport>,
pub source_issues: Vec<FontSourceIssue>,
pub reason: Option<String>,
}Expand description
The complete discovery and support result of one requested family.
Fields§
§requested: StringOriginal selection, including a generic preference or quoted literal.
family: Option<String>Copyable actual family selection, when discovered.
discovery: FontDiscoveryCurrent discovery evidence.
support: FontSupportSupport of actual confirmed variants.
variants: Vec<FontVariantReport>Actual logical variants, each listed once.
source_issues: Vec<FontSourceIssue>Failed sources, including those with unknown variant identity.
reason: Option<String>Explanation when discovery or the support check is incomplete.
Trait Implementations§
Source§impl Clone for FontFamilyReport
impl Clone for FontFamilyReport
Source§impl Debug for FontFamilyReport
impl Debug for FontFamilyReport
impl Eq for FontFamilyReport
Source§impl PartialEq for FontFamilyReport
impl PartialEq for FontFamilyReport
impl StructuralPartialEq for FontFamilyReport
Auto Trait Implementations§
impl Forget for FontFamilyReport
impl Freeze for FontFamilyReportwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<FontVariantReport>: Freeze,
PhantomData<FontSourceIssue>: Freeze,
impl Move for FontFamilyReport
impl RefUnwindSafe for FontFamilyReport
impl Send for FontFamilyReportwhere
RawVecInner: Send,
impl Sync for FontFamilyReportwhere
RawVecInner: Sync,
impl Unpin for FontFamilyReport
impl UnsafeUnpin for FontFamilyReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FontVariantReport>: UnsafeUnpin,
PhantomData<FontSourceIssue>: UnsafeUnpin,
impl UnwindSafe for FontFamilyReportwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.