Enum vega_lite_4::StyleColor
source · pub enum StyleColor {
String(String),
TentacledLinearGradient(TentacledLinearGradient),
}
Variants§
String(String)
TentacledLinearGradient(TentacledLinearGradient)
Trait Implementations§
source§impl Clone for StyleColor
impl Clone for StyleColor
source§fn clone(&self) -> StyleColor
fn clone(&self) -> StyleColor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StyleColor
impl Debug for StyleColor
source§impl<'de> Deserialize<'de> for StyleColor
impl<'de> Deserialize<'de> for StyleColor
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<&str> for StyleColor
impl From<&str> for StyleColor
source§impl From<String> for StyleColor
impl From<String> for StyleColor
source§fn from(original: String) -> StyleColor
fn from(original: String) -> StyleColor
Converts to this type from the input type.
source§impl From<TentacledLinearGradient> for StyleColor
impl From<TentacledLinearGradient> for StyleColor
source§fn from(original: TentacledLinearGradient) -> StyleColor
fn from(original: TentacledLinearGradient) -> StyleColor
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for StyleColor
impl Send for StyleColor
impl Sync for StyleColor
impl Unpin for StyleColor
impl UnwindSafe for StyleColor
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