pub struct ExportComposeOutput {
pub view_name: String,
pub compose_kt: GeneratedFile,
}Expand description
Output bundle for export_compose: typed Kotlin @Composable wrapping io.github.nativeview.compose.NvSurface.
Fields§
§view_name: String§compose_kt: GeneratedFileImplementations§
Source§impl ExportComposeOutput
impl ExportComposeOutput
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 ExportComposeOutput
impl Clone for ExportComposeOutput
Source§impl Debug for ExportComposeOutput
impl Debug for ExportComposeOutput
Source§impl<'de> Deserialize<'de> for ExportComposeOutput
impl<'de> Deserialize<'de> for ExportComposeOutput
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 ExportComposeOutput
impl PartialEq for ExportComposeOutput
Source§impl Serialize for ExportComposeOutput
impl Serialize for ExportComposeOutput
impl StructuralPartialEq for ExportComposeOutput
Auto Trait Implementations§
impl Forget for ExportComposeOutput
impl Freeze for ExportComposeOutput
impl Move for ExportComposeOutput
impl RefUnwindSafe for ExportComposeOutput
impl Send for ExportComposeOutputwhere
RawVecInner: Send,
impl Sync for ExportComposeOutputwhere
RawVecInner: Sync,
impl Unpin for ExportComposeOutput
impl UnsafeUnpin for ExportComposeOutput
impl UnwindSafe for ExportComposeOutputwhere
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