pub enum IconTheme {
Dark,
Light,
}Expand description
Optional specifier for the theme this icon is designed for. light indicates the icon is designed to be used with a light background, and dark indicates the icon is designed to be used with a dark background. If not provided, the client should assume the icon can be used with any theme.
JSON schema
{
"description": "Optional specifier for the theme this icon is designed for. light indicates\nthe icon is designed to be used with a light background, and dark indicates\nthe icon is designed to be used with a dark background.\n\nIf not provided, the client should assume the icon can be used with any theme.",
"type": "string",
"enum": [
"dark",
"light"
]
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IconTheme
impl<'de> Deserialize<'de> for IconTheme
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
Source§impl Ord for IconTheme
impl Ord for IconTheme
Source§impl PartialOrd for IconTheme
impl PartialOrd for IconTheme
impl Copy for IconTheme
impl Eq for IconTheme
impl StructuralPartialEq for IconTheme
Auto Trait Implementations§
impl Freeze for IconTheme
impl RefUnwindSafe for IconTheme
impl Send for IconTheme
impl Sync for IconTheme
impl Unpin for IconTheme
impl UnwindSafe for IconTheme
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