pub struct LuaBytes(pub Vec<u8>);Expand description
Represents a bytes buffer
Tuple Fields§
§0: Vec<u8>Trait Implementations§
Auto Trait Implementations§
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