pub struct VscodeTheme {
pub name: Option<String>,
pub author: Option<String>,
pub maintainers: Option<Vec<String>>,
pub type_: Option<String>,
pub colors: HashMap<String, Option<String>>,
pub token_colors: Vec<TokenColor>,
}Expand description
A Visual Studio Code theme
Fields§
§name: Option<String>§maintainers: Option<Vec<String>>§type_: Option<String>§colors: HashMap<String, Option<String>>§token_colors: Vec<TokenColor>Trait Implementations§
Source§impl Debug for VscodeTheme
impl Debug for VscodeTheme
Source§impl<'de> Deserialize<'de> for VscodeTheme
impl<'de> Deserialize<'de> for VscodeTheme
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 FromStr for VscodeTheme
impl FromStr for VscodeTheme
Source§impl TryFrom<VscodeTheme> for Theme
impl TryFrom<VscodeTheme> for Theme
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for VscodeTheme
impl RefUnwindSafe for VscodeTheme
impl Send for VscodeTheme
impl Sync for VscodeTheme
impl Unpin for VscodeTheme
impl UnwindSafe for VscodeTheme
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