RustLibApi class abstract

Implementers

Constructors

RustLibApi()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
rust_arc_decrement_strong_count_PyModuleWrapper → RustArcDecrementStrongCountFnType
no setter
rust_arc_decrement_strong_count_PyModuleWrapperPtr → CrossPlatformFinalizerArg
no setter
rust_arc_decrement_strong_count_PyObjectWrapper → RustArcDecrementStrongCountFnType
no setter
rust_arc_decrement_strong_count_PyObjectWrapperPtr → CrossPlatformFinalizerArg
no setter
rust_arc_increment_strong_count_PyModuleWrapper → RustArcIncrementStrongCountFnType
no setter
rust_arc_increment_strong_count_PyObjectWrapper → RustArcIncrementStrongCountFnType
no setter

Methods

crateApiPythonInitPyEnv({required String pythonHome, required String libPath, required String sitePackages}) → void
crateApiPythonPyModuleWrapperAsStr({required PyModuleWrapper that}) String
crateApiPythonPyModuleWrapperCallFunction({required PyModuleWrapper that, required String funcName}) String
crateApiPythonPyModuleWrapperCallFunctionArgs({required PyModuleWrapper that, required String funcName, required List<PyArgument> args}) String
crateApiPythonPyModuleWrapperImportModule({required String moduleName}) PyModuleWrapper
crateApiPythonPyObjectWrapperAsBool({required PyObjectWrapper that}) bool
crateApiPythonPyObjectWrapperAsFloat({required PyObjectWrapper that}) double
crateApiPythonPyObjectWrapperAsInt({required PyObjectWrapper that}) → PlatformInt64
crateApiPythonPyObjectWrapperAsListString({required PyObjectWrapper that}) Future<List<String>>
crateApiPythonPyObjectWrapperAsRepr({required PyObjectWrapper that}) String
crateApiPythonPyObjectWrapperAsStr({required PyObjectWrapper that}) String
crateApiPythonPyObjectWrapperCall({required PyObjectWrapper that, required List<PyArgument> args}) Future<PyObjectWrapper>
crateApiPythonPyObjectWrapperCallMethod({required PyObjectWrapper that, required String methodName, required List<PyArgument> args}) Future<PyObjectWrapper>
crateApiPythonPyObjectWrapperGetattr({required PyObjectWrapper that, required String attrName}) PyObjectWrapper
crateApiPythonPyObjectWrapperGetItem({required PyObjectWrapper that, required PyArgument key}) PyObjectWrapper
crateApiPythonPyObjectWrapperHasattr({required PyObjectWrapper that, required String attrName}) bool
crateApiPythonPyObjectWrapperIsCallable({required PyObjectWrapper that}) bool
crateApiPythonPyObjectWrapperIsEmpty({required PyObjectWrapper that}) bool
crateApiPythonPyObjectWrapperIsNone({required PyObjectWrapper that}) bool
crateApiPythonPyObjectWrapperLen({required PyObjectWrapper that}) BigInt
crateApiPythonPyObjectWrapperSetattr({required PyObjectWrapper that, required String attrName, required PyArgument value}) → void
crateApiPythonPyObjectWrapperSetItem({required PyObjectWrapper that, required PyArgument key, required PyArgument value}) → void
crateApiPythonPythonUtilityEval({required String code, List<(String, PyArgument)>? globals, List<(String, PyArgument)>? locals, required List<String> imports}) Future<String>
crateApiPythonPythonUtilityEvalAsObject({required String code, List<(String, PyArgument)>? globals, List<(String, PyArgument)>? locals}) Future<PyObjectWrapper>
crateApiPythonPythonUtilityExecute({required String code, List<(String, PyArgument)>? globals, List<(String, PyArgument)>? locals}) Future<void>
crateApiPythonPythonUtilityGetModuleAttr({required String moduleName, required String attrName}) Future<String>
crateApiPythonPythonUtilityRunFile({required String filePath}) Future<void>
crateApiPythonPythonUtilitySetModuleAttr({required String moduleName, required String attrName, required PyArgument value}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited