pub struct CatalogFallbacks {
pub missing_theme_id: String,
pub missing_icon_id: String,
}Expand description
Catalog-wide recovery choices used after emitting a missing-resource diagnostic.
Fields§
§missing_theme_id: StringCore theme selected when a requested non-core theme is unavailable.
missing_icon_id: StringLogical icon selected when an icon is unavailable in the resolved theme.
Trait Implementations§
Source§impl Clone for CatalogFallbacks
impl Clone for CatalogFallbacks
Source§fn clone(&self) -> CatalogFallbacks
fn clone(&self) -> CatalogFallbacks
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 CatalogFallbacks
impl Debug for CatalogFallbacks
Source§impl<'de> Deserialize<'de> for CatalogFallbacks
impl<'de> Deserialize<'de> for CatalogFallbacks
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
impl Eq for CatalogFallbacks
Source§impl PartialEq for CatalogFallbacks
impl PartialEq for CatalogFallbacks
Source§impl Serialize for CatalogFallbacks
impl Serialize for CatalogFallbacks
impl StructuralPartialEq for CatalogFallbacks
Auto Trait Implementations§
impl Freeze for CatalogFallbacks
impl RefUnwindSafe for CatalogFallbacks
impl Send for CatalogFallbacks
impl Sync for CatalogFallbacks
impl Unpin for CatalogFallbacks
impl UnsafeUnpin for CatalogFallbacks
impl UnwindSafe for CatalogFallbacks
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