pub struct ComponentPropertiesTrait {
pub component_property_definitions: Option<HashMap<String, ComponentPropertyDefinition>>,
}
Fields§
§component_property_definitions: Option<HashMap<String, ComponentPropertyDefinition>>
A mapping of name to ComponentPropertyDefinition
for every component property on this component. Each property has a type, defaultValue, and other optional values.
Implementations§
Source§impl ComponentPropertiesTrait
impl ComponentPropertiesTrait
pub fn new() -> ComponentPropertiesTrait
Trait Implementations§
Source§impl Clone for ComponentPropertiesTrait
impl Clone for ComponentPropertiesTrait
Source§fn clone(&self) -> ComponentPropertiesTrait
fn clone(&self) -> ComponentPropertiesTrait
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 ComponentPropertiesTrait
impl Debug for ComponentPropertiesTrait
Source§impl Default for ComponentPropertiesTrait
impl Default for ComponentPropertiesTrait
Source§fn default() -> ComponentPropertiesTrait
fn default() -> ComponentPropertiesTrait
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComponentPropertiesTrait
impl<'de> Deserialize<'de> for ComponentPropertiesTrait
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 ComponentPropertiesTrait
impl PartialEq for ComponentPropertiesTrait
Source§impl Serialize for ComponentPropertiesTrait
impl Serialize for ComponentPropertiesTrait
impl StructuralPartialEq for ComponentPropertiesTrait
Auto Trait Implementations§
impl Freeze for ComponentPropertiesTrait
impl RefUnwindSafe for ComponentPropertiesTrait
impl Send for ComponentPropertiesTrait
impl Sync for ComponentPropertiesTrait
impl Unpin for ComponentPropertiesTrait
impl UnwindSafe for ComponentPropertiesTrait
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