Enum oxygengine_user_interface::ui_theme_asset_protocol::UiTheme [−][src]
pub enum UiTheme {
AllWhite(ThemePropsExtras),
Flat {
default: Color,
primary: Color,
secondary: Color,
background: Color,
extras: ThemePropsExtras,
},
FlatLight(ThemePropsExtras),
FlatDark(ThemePropsExtras),
Custom(ThemeProps),
}Variants
AllWhite(ThemePropsExtras)Show fields
Fields of Flat
FlatLight(ThemePropsExtras)FlatDark(ThemePropsExtras)Custom(ThemeProps)Implementations
Trait Implementations
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
fn from_prefab_with_extras(
data: Value,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<PhantomData<dyn State + Sync + Send + 'static>>
) -> Result<Self, PrefabError>Auto Trait Implementations
impl RefUnwindSafe for UiThemeimpl UnwindSafe for UiTheme