[][src]Struct pyconnect6::pybind::RunResultWrapper

pub struct RunResultWrapper<'a>(pub &'a PlayResult);

connect6::agent::PlayResult wrapper for Python object conversion

Trait Implementations

impl<'a> ToPyObject for RunResultWrapper<'a>[src]

type ObjectType = PyTuple

fn to_py_object(&self, py: Python) -> PyTuple[src]

Return PyTuple, (winner: int, path: list(Path as PyTuple))

fn into_py_object(self, py: Python) -> Self::ObjectType

Converts self into a Python object. Read more

fn with_borrowed_ptr<F, R>(&self, py: Python, f: F) -> R where
    F: FnOnce(*mut PyObject) -> R, 

Converts self into a Python object and calls the specified closure on the native FFI pointer underlying the Python object. Read more

Auto Trait Implementations

impl<'a> Send for RunResultWrapper<'a>

impl<'a> Sync for RunResultWrapper<'a>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T