rune::runtime

Trait IntoOutput

Source
pub trait IntoOutput {
    // Required method
    fn into_output(self) -> Result<Value, RuntimeError>;
}
Expand description

Trait used to coerce values into outputs.

Required Methods§

Source

fn into_output(self) -> Result<Value, RuntimeError>

Coerce the current value into an output.

Implementations on Foreign Types§

Source§

impl IntoOutput for &str

Source§

impl IntoOutput for &[u8]

Source§

impl IntoOutput for Ordering

Source§

impl IntoOutput for Option<Value>

Source§

impl IntoOutput for Result<Value, Value>

Source§

impl IntoOutput for bool

Source§

impl IntoOutput for char

Source§

impl IntoOutput for f64

Source§

impl IntoOutput for i64

Source§

impl IntoOutput for u64

Source§

impl IntoOutput for ()

Source§

impl<T, E> IntoOutput for Result<T, E>

Implementors§