Trait ruby_marshal::IntoValue
source · pub trait IntoValue: Sized {
// Required method
fn into_value(
self,
arena: &mut ValueArena,
) -> Result<ValueHandle, IntoValueError>;
}
Expand description
Implemented for any type that can be converted into a Ruby Value.
Required Methods§
sourcefn into_value(
self,
arena: &mut ValueArena,
) -> Result<ValueHandle, IntoValueError>
fn into_value( self, arena: &mut ValueArena, ) -> Result<ValueHandle, IntoValueError>
Turn this type into a Ruby Value.
Object Safety§
This trait is not object safe.