Struct pyo3::NoArgs[][src]

pub struct NoArgs;

An empty struct that represents the empty argument list. Corresponds to the empty tuple () in Python.

Example

let gil = pyo3::Python::acquire_gil();
let py = gil.python();
let os = py.import("os").unwrap();
let pid = os.call("get_pid", pyo3::NoArgs, pyo3::NoArgs);

Trait Implementations

impl Copy for NoArgs
[src]

impl Clone for NoArgs
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NoArgs
[src]

Formats the value using the given formatter. Read more

impl IntoPyTuple for NoArgs
[src]

Converts NoArgs to an empty Python tuple.

Converts self into a PyTuple object.

impl ToPyObject for NoArgs
[src]

Converts NoArgs to an empty Python tuple.

Converts self into a Python object.

impl IntoPyObject for NoArgs
[src]

Converts NoArgs to an empty Python tuple.

Converts self into a Python object. (Consumes self)

impl IntoPyDictPointer for NoArgs
[src]

Converts NoArgs to an null pointer.

Converts self into a PyDict object pointer. Whether pointer owned or borrowed depends on implementation. Read more

Auto Trait Implementations

impl Send for NoArgs

impl Sync for NoArgs