pub struct ThemeOptions<'a> {
pub themes: &'a [ThemeRef],
pub view: &'a CatalogView,
}Expand description
The registry an extends resolves against and the catalog view recipes
are validated against.
Fields§
§themes: &'a [ThemeRef]§view: &'a CatalogViewImplementations§
Source§impl<'a> ThemeOptions<'a>
impl<'a> ThemeOptions<'a>
Sourcepub fn core(themes: &'a [ThemeRef]) -> ThemeOptions<'a>
pub fn core(themes: &'a [ThemeRef]) -> ThemeOptions<'a>
The given registry over the core catalog.
Trait Implementations§
Source§impl<'a> Clone for ThemeOptions<'a>
impl<'a> Clone for ThemeOptions<'a>
impl<'a> Copy for ThemeOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for ThemeOptions<'a>
impl<'a> RefUnwindSafe for ThemeOptions<'a>
impl<'a> Send for ThemeOptions<'a>
impl<'a> Sync for ThemeOptions<'a>
impl<'a> Unpin for ThemeOptions<'a>
impl<'a> UnsafeUnpin for ThemeOptions<'a>
impl<'a> UnwindSafe for ThemeOptions<'a>
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