Trait runestick::UnsafeToValue[][src]

pub trait UnsafeToValue: Sized {
    type Guard: 'static;
    unsafe fn unsafe_to_value(self) -> Result<(Value, Self::Guard), VmError>;
}
Expand description

Trait for converting types into values.

Associated Types

The type used to guard the unsafe value conversion.

Required methods

Convert into a value.

Safety

The value returned must not be used after the guard associated with it has been dropped.

Implementations on Foreign Types

Implementors