weird
This commit is contained in:
parent
8dfa5b230a
commit
6fefb4460b
@ -51,6 +51,10 @@ pub mod data {
|
||||
pub data: SR1PartType,
|
||||
}
|
||||
|
||||
impl PySR1PartType {
|
||||
pub fn new(data: SR1PartType) -> Self { Self { data } }
|
||||
}
|
||||
|
||||
#[pymethods]
|
||||
impl PySR1PartType {
|
||||
#[getter]
|
||||
@ -81,10 +85,6 @@ pub mod data {
|
||||
fn get_type(&self) -> String { self.data.p_type.into() }
|
||||
}
|
||||
|
||||
impl PySR1PartType {
|
||||
pub fn new(data: SR1PartType) -> Self { Self { data } }
|
||||
}
|
||||
|
||||
#[pyclass]
|
||||
#[derive(Clone, Debug)]
|
||||
#[pyo3(name = "SR1PartList_rs")]
|
||||
|
Loading…
Reference in New Issue
Block a user