[][src]Struct runestick::Interface

pub struct Interface { /* fields omitted */ }

An interface which wraps a value and allows for accessing protocols.

This can be used as an argument type for native functions who wants to call a protocol function like INTO_ITER (see into_iter).

Implementations

impl Interface[src]

pub fn into_iter(self) -> Result<Iterator, VmError>[src]

Call the into_iter protocol on the value.

Trait Implementations

impl FromValue for Interface[src]

impl TypeOf for Interface[src]

Auto Trait Implementations

impl !RefUnwindSafe for Interface

impl !Send for Interface

impl !Sync for Interface

impl Unpin for Interface

impl !UnwindSafe for Interface

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.