pub struct LuaStringBuilder<'thread, 'storage> { /* private fields */ }Implementations§
Source§impl<'thread, 'storage> LuaStringBuilder<'thread, 'storage>
impl<'thread, 'storage> LuaStringBuilder<'thread, 'storage>
Sourcepub unsafe fn new(
thread: &'thread Thread,
inline: &'storage mut LuaStringBuilderStorage,
) -> Self
pub unsafe fn new( thread: &'thread Thread, inline: &'storage mut LuaStringBuilderStorage, ) -> Self
luaL_buffinit
Sourcepub unsafe fn push_bytes(&mut self, bytes: &[u8]) -> VmErrorResult
pub unsafe fn push_bytes(&mut self, bytes: &[u8]) -> VmErrorResult
luaL_addlstring
Sourcepub unsafe fn push_byte(&mut self, byte: u8) -> VmErrorResult
pub unsafe fn push_byte(&mut self, byte: u8) -> VmErrorResult
luaL_addchar
Sourcepub unsafe fn push_stack_value(&mut self) -> VmErrorResult
pub unsafe fn push_stack_value(&mut self) -> VmErrorResult
luaL_addvalue
Sourcepub unsafe fn push_any_value(&mut self, index: i32) -> VmResult
pub unsafe fn push_any_value(&mut self, index: i32) -> VmResult
luaL_addvalueany
Sourcepub unsafe fn finish(&mut self) -> VmErrorResult
pub unsafe fn finish(&mut self) -> VmErrorResult
luaL_pushresult
Sourcepub unsafe fn finish_with_reserved(&mut self, size: usize) -> VmErrorResult
pub unsafe fn finish_with_reserved(&mut self, size: usize) -> VmErrorResult
luaL_pushresultsize
Auto Trait Implementations§
impl<'thread, 'storage> !RefUnwindSafe for LuaStringBuilder<'thread, 'storage>
impl<'thread, 'storage> !Send for LuaStringBuilder<'thread, 'storage>
impl<'thread, 'storage> !Sync for LuaStringBuilder<'thread, 'storage>
impl<'thread, 'storage> !UnwindSafe for LuaStringBuilder<'thread, 'storage>
impl<'thread, 'storage> Freeze for LuaStringBuilder<'thread, 'storage>
impl<'thread, 'storage> Unpin for LuaStringBuilder<'thread, 'storage>
impl<'thread, 'storage> UnsafeUnpin for LuaStringBuilder<'thread, 'storage>
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