Skip to main content

IntoLuaStringValue

Trait IntoLuaStringValue 

Source
pub trait IntoLuaStringValue {
    // Required method
    fn into_lua_string_value(self) -> Vec<u8> ;
}
Expand description

Trait for converting string related values into a Lua string value.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoLuaStringValue for &String

Source§

impl IntoLuaStringValue for &[u8]

Source§

impl IntoLuaStringValue for &str

Source§

impl IntoLuaStringValue for String

Source§

impl IntoLuaStringValue for Vec<u8>

Source§

impl IntoLuaStringValue for char

Source§

impl<const N: usize> IntoLuaStringValue for &[u8; N]

Source§

impl<const N: usize> IntoLuaStringValue for [u8; N]

Implementors§