pub fn struct_sequence_new(
cls: PyTypeRef,
seq: PyObjectRef,
vm: &VirtualMachine,
) -> PyResultExpand description
Create a new struct sequence instance from a sequence.
The class must have n_sequence_fields and n_fields attributes set
(done automatically by PyStructSequence::extend_pyclass).