コード例 #1
0
ファイル: PyClass.cs プロジェクト: yamiM0NSTER/iced
 public PyClass(string name, DocComments docComments, RustAttributes attributes)
 {
     Name        = name;
     DocComments = docComments;
     Attributes  = attributes;
     Methods     = new List <PyMethod>();
 }
コード例 #2
0
ファイル: PyClass.cs プロジェクト: yamiM0NSTER/iced
 public PyMethod(string name, DocComments docComments, RustAttributes attributes, List <PyMethodArg> arguments, string rustReturnType)
 {
     Name           = name;
     DocComments    = docComments;
     Attributes     = attributes;
     Arguments      = arguments;
     RustReturnType = rustReturnType;
 }