pub struct ExportSwiftUiOutput {
pub view_name: String,
pub swift_view: GeneratedFile,
}Expand description
Output bundle for export_swiftui: typed SwiftUI View wrapping NativeViewSwiftUI.NvSurfaceRepresentable.
Fields§
§view_name: String§swift_view: GeneratedFileImplementations§
Source§impl ExportSwiftUiOutput
impl ExportSwiftUiOutput
pub fn files(&self) -> [&GeneratedFile; 1]
pub fn write_to_dir(&self, out_dir: &Path) -> Result<Vec<PathBuf>, CodegenError>
Trait Implementations§
Source§impl Clone for ExportSwiftUiOutput
impl Clone for ExportSwiftUiOutput
Source§impl Debug for ExportSwiftUiOutput
impl Debug for ExportSwiftUiOutput
Source§impl<'de> Deserialize<'de> for ExportSwiftUiOutput
impl<'de> Deserialize<'de> for ExportSwiftUiOutput
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 ExportSwiftUiOutput
impl PartialEq for ExportSwiftUiOutput
Source§impl Serialize for ExportSwiftUiOutput
impl Serialize for ExportSwiftUiOutput
impl StructuralPartialEq for ExportSwiftUiOutput
Auto Trait Implementations§
impl Forget for ExportSwiftUiOutput
impl Freeze for ExportSwiftUiOutput
impl Move for ExportSwiftUiOutput
impl RefUnwindSafe for ExportSwiftUiOutput
impl Send for ExportSwiftUiOutputwhere
RawVecInner: Send,
impl Sync for ExportSwiftUiOutputwhere
RawVecInner: Sync,
impl Unpin for ExportSwiftUiOutput
impl UnsafeUnpin for ExportSwiftUiOutput
impl UnwindSafe for ExportSwiftUiOutputwhere
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