pub struct LuaBytes(pub Vec<u8>);Expand description
Represents a bytes buffer
Tuple Fields§
§0: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LuaBytes
impl RefUnwindSafe for LuaBytes
impl Send for LuaBytes
impl Sync for LuaBytes
impl Unpin for LuaBytes
impl UnwindSafe for LuaBytes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<'a, T> FromLuaMulti<'a> for Twhere
T: FromLua<'a>,
impl<'a, T> FromLuaMulti<'a> for Twhere
T: FromLua<'a>,
Source§impl<T> ToLuaMulti for Twhere
T: ToLua,
impl<T> ToLuaMulti for Twhere
T: ToLua,
Source§const VALUE_COUNT: Option<usize> = const VALUE_COUNT: Option<usize> = Some(1);
const VALUE_COUNT: Option<usize> = const VALUE_COUNT: Option<usize> = Some(1);
Count of values to be pushed to lua stack
Source§fn push_multi(self, s: &State) -> Result<usize, Error>
fn push_multi(self, s: &State) -> Result<usize, Error>
Define how to push values onto lua stack
Source§fn value_count(&self) -> Option<usize>
fn value_count(&self) -> Option<usize>
Get the count of values to be pushed to lua stack, with self instance