pub enum ComponentPropertyValue {
Boolean(bool),
String(String),
}
Expand description
ComponentPropertyValue : Value of the property for this component instance. Value of the property for this component instance.
Variants§
Trait Implementations§
Source§impl Clone for ComponentPropertyValue
impl Clone for ComponentPropertyValue
Source§fn clone(&self) -> ComponentPropertyValue
fn clone(&self) -> ComponentPropertyValue
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 Debug for ComponentPropertyValue
impl Debug for ComponentPropertyValue
Source§impl Default for ComponentPropertyValue
impl Default for ComponentPropertyValue
Source§impl<'de> Deserialize<'de> for ComponentPropertyValue
impl<'de> Deserialize<'de> for ComponentPropertyValue
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 ComponentPropertyValue
impl PartialEq for ComponentPropertyValue
Source§impl Serialize for ComponentPropertyValue
impl Serialize for ComponentPropertyValue
impl StructuralPartialEq for ComponentPropertyValue
Auto Trait Implementations§
impl Freeze for ComponentPropertyValue
impl RefUnwindSafe for ComponentPropertyValue
impl Send for ComponentPropertyValue
impl Sync for ComponentPropertyValue
impl Unpin for ComponentPropertyValue
impl UnwindSafe for ComponentPropertyValue
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