public PyClass(string name, DocComments docComments, RustAttributes attributes) { Name = name; DocComments = docComments; Attributes = attributes; Methods = new List <PyMethod>(); }
public PyMethod(string name, DocComments docComments, RustAttributes attributes, List <PyMethodArg> arguments, string rustReturnType) { Name = name; DocComments = docComments; Attributes = attributes; Arguments = arguments; RustReturnType = rustReturnType; }