pub struct ComponentConfig {
pub entity_id: String,
pub component_type: ComponentType,
pub blueprint: String,
pub overlay: String,
pub component_materiality: f64,
}Expand description
Configuration for a single component within the group.
Fields§
§entity_id: StringEntity identifier for the component.
component_type: ComponentTypeSignificance classification.
blueprint: StringBlueprint selector for the component’s engagement.
overlay: StringOverlay selector.
component_materiality: f64Component materiality (should be <= group materiality).
Trait Implementations§
Source§impl Clone for ComponentConfig
impl Clone for ComponentConfig
Source§fn clone(&self) -> ComponentConfig
fn clone(&self) -> ComponentConfig
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 ComponentConfig
impl Debug for ComponentConfig
Source§impl<'de> Deserialize<'de> for ComponentConfig
impl<'de> Deserialize<'de> for ComponentConfig
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
Auto Trait Implementations§
impl Freeze for ComponentConfig
impl RefUnwindSafe for ComponentConfig
impl Send for ComponentConfig
impl Sync for ComponentConfig
impl Unpin for ComponentConfig
impl UnsafeUnpin for ComponentConfig
impl UnwindSafe for ComponentConfig
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