pub struct DiscoveredComponent {
pub tag_name: String,
pub html_content: String,
pub css_content: Option<String>,
pub is_client_owned: bool,
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
is_client_owned: boolWhether authored browser code owns this custom element tag.
source: StringThe original source identifier (for display/diagnostics)
Trait Implementations§
Source§impl Clone for DiscoveredComponent
impl Clone for DiscoveredComponent
Auto 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