pub enum ComponentPropertyDefinitionDefaultValue {
Boolean(bool),
String(String),
}
Expand description
ComponentPropertyDefinitionDefaultValue : Initial value of this property for instances. Initial value of this property for instances.
Variants§
Trait Implementations§
Source§impl Clone for ComponentPropertyDefinitionDefaultValue
impl Clone for ComponentPropertyDefinitionDefaultValue
Source§fn clone(&self) -> ComponentPropertyDefinitionDefaultValue
fn clone(&self) -> ComponentPropertyDefinitionDefaultValue
Returns a duplicate 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 ComponentPropertyDefinitionDefaultValue
impl<'de> Deserialize<'de> for ComponentPropertyDefinitionDefaultValue
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 PartialEq for ComponentPropertyDefinitionDefaultValue
impl PartialEq for ComponentPropertyDefinitionDefaultValue
Source§fn eq(&self, other: &ComponentPropertyDefinitionDefaultValue) -> bool
fn eq(&self, other: &ComponentPropertyDefinitionDefaultValue) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ComponentPropertyDefinitionDefaultValue
Auto Trait Implementations§
impl Freeze for ComponentPropertyDefinitionDefaultValue
impl RefUnwindSafe for ComponentPropertyDefinitionDefaultValue
impl Send for ComponentPropertyDefinitionDefaultValue
impl Sync for ComponentPropertyDefinitionDefaultValue
impl Unpin for ComponentPropertyDefinitionDefaultValue
impl UnwindSafe for ComponentPropertyDefinitionDefaultValue
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