Skip to main content

Out

Trait Out 

Source
pub trait Out {
    // Required methods
    fn blueprints<'py>(
        python: Python<'py>,
        io: &Bound<'py, PyAny>,
    ) -> PyResult<Bound<'py, PyList>>;
    fn to_schema(self, python: Python<'_>) -> PyResult<Bound<'_, PyTuple>>;
}

Required Methods§

Source

fn blueprints<'py>( python: Python<'py>, io: &Bound<'py, PyAny>, ) -> PyResult<Bound<'py, PyList>>

Source

fn to_schema(self, python: Python<'_>) -> PyResult<Bound<'_, PyTuple>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Out for ()

Source§

fn blueprints<'py>( python: Python<'py>, _: &Bound<'py, PyAny>, ) -> PyResult<Bound<'py, PyList>>

Source§

fn to_schema(self, python: Python<'_>) -> PyResult<Bound<'_, PyTuple>>

Implementors§