GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • rustpython_vm

This view

  • Original page
  • New address

GeezerVison is showing rustpython.github.io — rustpython_vm::function - Rust

[−][src]Module rustpython_vm::function

Structs

Args

A list of positional argument values.

KwArgs

A map of keyword arguments to their values.

OwnedParam
PyFuncArgs

The PyFuncArgs struct is one of the most used structs then creating a rust function that can be called from python. It holds both positional arguments, as well as keyword arguments passed to the function.

RefParam

Enums

ArgumentError

An error encountered while binding arguments to the parameters of a Python function call.

OptionalArg

An argument that may or may not be provided by the caller.

Traits

FromArgs

Implemented by any type that can be accepted as a parameter to a built-in function.

IntoPyNativeFunc

Implemented by types that are or can generate built-in functions.

Functions

single_or_tuple_any

Tests that the predicate is True on a single value, or if the value is a tuple a tuple, then test that any of the values contained within the tuples satisfies the predicate. Type parameter T specifies the type that is expected, if the input value is not of that type or a tuple of values of that type, then a TypeError is raised.

Type Definitions

OptionalOption
PyNativeFunc

A built-in Python function.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.