@@ -16,8 +16,8 @@ pub mod import {
1616 #[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
1717 #[ cfg_attr(
1818 feature = "python" ,
19- pyo3 :: pyclass ( name = "PlyImportOptions" ) ,
20- pyo3_stub_gen :: derive :: gen_stub_pyclass
19+ pyo3_stub_gen :: derive :: gen_stub_pyclass ,
20+ pyo3 :: pyclass ( name = "PlyImportOptions" )
2121 ) ]
2222 pub struct Options {
2323 /// Co-ordinate system of input data.
@@ -69,8 +69,8 @@ pub mod export {
6969 #[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
7070 #[ cfg_attr(
7171 feature = "python" ,
72- pyo3 :: pyclass ( name = "PlyExportOptions" ) ,
73- pyo3_stub_gen :: derive :: gen_stub_pyclass
72+ pyo3_stub_gen :: derive :: gen_stub_pyclass ,
73+ pyo3 :: pyclass ( name = "PlyExportOptions" )
7474 ) ]
7575 #[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
7676 pub struct Options {
@@ -121,6 +121,11 @@ pub mod export {
121121 #[ serde( rename = "PlyStorage" , rename_all = "snake_case" ) ]
122122 #[ cfg_attr( feature = "ts-rs" , derive( ts_rs:: TS ) ) ]
123123 #[ cfg_attr( feature = "ts-rs" , ts( export_to = "ModelingCmd.ts" ) ) ]
124+ #[ cfg_attr(
125+ feature = "python" ,
126+ pyo3_stub_gen:: derive:: gen_stub_pyclass_enum,
127+ pyo3:: pyclass( name = "PlyStorage" )
128+ ) ]
124129 pub enum Storage {
125130 /// Write numbers in their ascii representation (e.g. -13, 6.28, etc.). Properties are separated by spaces and elements are separated by line breaks.
126131 #[ default]
0 commit comments