pub struct ExportWebComponentOutput {
pub view_name: String,
pub tag_name: String,
pub element_js: GeneratedFile,
pub types_dts: GeneratedFile,
pub react_tsx: GeneratedFile,
}Expand description
Output bundle for export_web_component: Light-DOM Custom Element <nv-...> + .d.ts + typed React .tsx.
Fields§
§view_name: String§tag_name: String§element_js: GeneratedFile§types_dts: GeneratedFile§react_tsx: GeneratedFileImplementations§
Source§impl ExportWebComponentOutput
impl ExportWebComponentOutput
pub fn files(&self) -> [&GeneratedFile; 3]
pub fn write_to_dir(&self, out_dir: &Path) -> Result<Vec<PathBuf>, CodegenError>
Trait Implementations§
Source§impl Clone for ExportWebComponentOutput
impl Clone for ExportWebComponentOutput
Source§impl Debug for ExportWebComponentOutput
impl Debug for ExportWebComponentOutput
Source§impl<'de> Deserialize<'de> for ExportWebComponentOutput
impl<'de> Deserialize<'de> for ExportWebComponentOutput
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 ExportWebComponentOutput
impl PartialEq for ExportWebComponentOutput
Source§impl Serialize for ExportWebComponentOutput
impl Serialize for ExportWebComponentOutput
impl StructuralPartialEq for ExportWebComponentOutput
Auto Trait Implementations§
impl Forget for ExportWebComponentOutput
impl Freeze for ExportWebComponentOutput
impl Move for ExportWebComponentOutput
impl RefUnwindSafe for ExportWebComponentOutput
impl Send for ExportWebComponentOutputwhere
RawVecInner: Send,
impl Sync for ExportWebComponentOutputwhere
RawVecInner: Sync,
impl Unpin for ExportWebComponentOutput
impl UnsafeUnpin for ExportWebComponentOutput
impl UnwindSafe for ExportWebComponentOutputwhere
RawVecInner: UnwindSafe,
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