Enum vega_lite_4::Color
source · pub enum Color {
BackgroundExprRef(BackgroundExprRef),
String(String),
}
Expand description
CSS color property to use as the background of the entire view.
Default value: "white"
The color of the header label, can be in hex color code or regular color name.
Color of the header title, can be in hex color code or regular color name.
Variants§
BackgroundExprRef(BackgroundExprRef)
String(String)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Color
impl<'de> Deserialize<'de> for Color
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 From<BackgroundExprRef> for Color
impl From<BackgroundExprRef> for Color
source§fn from(original: BackgroundExprRef) -> Color
fn from(original: BackgroundExprRef) -> Color
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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