(values: &Bound<'_, PyAny>)
| 318 | /// Prop: |
| 319 | #[staticmethod] |
| 320 | pub fn list(values: &Bound<'_, PyAny>) -> PyResult<Self> { |
| 321 | let elems: Vec<Prop> = values.extract()?; |
| 322 | Ok(PyProp(Prop::list(elems))) |
| 323 | } |
| 324 | |
| 325 | /// Construct a `Prop` holding a string-keyed map of values. |
| 326 | /// |