pub struct DiscoveredComponent {
pub tag_name: String,
pub html_content: String,
pub css_content: Option<String>,
pub source: String,
}Expand description
A component discovered from an external source, ready for registration.
Fields§
§tag_name: StringThe custom element tag name (e.g., “reactive-button”)
html_content: StringThe HTML template content
css_content: Option<String>The CSS content, if any
source: StringThe original source identifier (for display/diagnostics)
Trait Implementations§
Source§impl Clone for DiscoveredComponent
impl Clone for DiscoveredComponent
Source§fn clone(&self) -> DiscoveredComponent
fn clone(&self) -> DiscoveredComponent
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 moreAuto Trait Implementations§
impl Freeze for DiscoveredComponent
impl RefUnwindSafe for DiscoveredComponent
impl Send for DiscoveredComponent
impl Sync for DiscoveredComponent
impl Unpin for DiscoveredComponent
impl UnsafeUnpin for DiscoveredComponent
impl UnwindSafe for DiscoveredComponent
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