pub struct MappedComponent {
pub component: String,
pub props: Props,
pub children_ids: Vec<String>,
pub template: Option<Template>,
pub slots: IndexMap<String, String>,
pub on: Option<IndexMap<String, Value>>,
pub style: Option<Props>,
}Expand description
What a basic component becomes before the reducer nests its children.
Fields§
§component: String§props: Props§children_ids: Vec<String>§template: Option<Template>§slots: IndexMap<String, String>§on: Option<IndexMap<String, Value>>§style: Option<Props>Trait Implementations§
Source§impl Clone for MappedComponent
impl Clone for MappedComponent
Source§impl Debug for MappedComponent
impl Debug for MappedComponent
Source§impl Default for MappedComponent
impl Default for MappedComponent
Source§impl PartialEq for MappedComponent
impl PartialEq for MappedComponent
impl StructuralPartialEq for MappedComponent
Auto Trait Implementations§
impl Freeze for MappedComponent
impl RefUnwindSafe for MappedComponent
impl Send for MappedComponent
impl Sync for MappedComponent
impl Unpin for MappedComponent
impl UnsafeUnpin for MappedComponent
impl UnwindSafe for MappedComponent
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