pub struct CustomTheme {
pub theme: Theme,
pub graph: SceneGraph,
pub palette: IndexedPalette,
pub atlas: GlyphAtlas,
pub background: IndexedImage,
pub hero_ms: u64,
}Expand description
One theme’s pre-baked background, palette, atlas and graph for a custom scene package (such as an image-to-ASCII wallpaper).
Fields§
§theme: Theme§graph: SceneGraph§palette: IndexedPalette§atlas: GlyphAtlas§background: IndexedImage§hero_ms: u64Trait Implementations§
Source§impl Clone for CustomTheme
impl Clone for CustomTheme
Auto Trait Implementations§
impl Forget for CustomTheme
impl Freeze for CustomTheme
impl Move for CustomTheme
impl RefUnwindSafe for CustomTheme
impl Send for CustomTheme
impl Sync for CustomTheme
impl Unpin for CustomTheme
impl UnsafeUnpin for CustomTheme
impl UnwindSafe for CustomTheme
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