pub enum ConditionalValueDefGradientStringNullExprRefValue {
String(String),
ValueLinearGradient(ValueLinearGradient),
}
Variants§
String(String)
ValueLinearGradient(ValueLinearGradient)
Trait Implementations§
source§impl Clone for ConditionalValueDefGradientStringNullExprRefValue
impl Clone for ConditionalValueDefGradientStringNullExprRefValue
source§fn clone(&self) -> ConditionalValueDefGradientStringNullExprRefValue
fn clone(&self) -> ConditionalValueDefGradientStringNullExprRefValue
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<'de> Deserialize<'de> for ConditionalValueDefGradientStringNullExprRefValue
impl<'de> Deserialize<'de> for ConditionalValueDefGradientStringNullExprRefValue
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<String> for ConditionalValueDefGradientStringNullExprRefValue
impl From<String> for ConditionalValueDefGradientStringNullExprRefValue
source§fn from(original: String) -> ConditionalValueDefGradientStringNullExprRefValue
fn from(original: String) -> ConditionalValueDefGradientStringNullExprRefValue
Converts to this type from the input type.
source§impl From<ValueLinearGradient> for ConditionalValueDefGradientStringNullExprRefValue
impl From<ValueLinearGradient> for ConditionalValueDefGradientStringNullExprRefValue
source§fn from(
original: ValueLinearGradient
) -> ConditionalValueDefGradientStringNullExprRefValue
fn from( original: ValueLinearGradient ) -> ConditionalValueDefGradientStringNullExprRefValue
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ConditionalValueDefGradientStringNullExprRefValue
impl Send for ConditionalValueDefGradientStringNullExprRefValue
impl Sync for ConditionalValueDefGradientStringNullExprRefValue
impl Unpin for ConditionalValueDefGradientStringNullExprRefValue
impl UnwindSafe for ConditionalValueDefGradientStringNullExprRefValue
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