#[repr(C)]pub struct luaL_Buffer {
pub b: *mut c_char,
pub size: usize,
pub n: usize,
pub L: *mut lua_State,
pub initb: [c_char; 8192],
}
Fields§
§b: *mut c_char
Buffer address
size: usize
Buffer size
n: usize
number of characters in buffer
L: *mut lua_State
§initb: [c_char; 8192]
initial buffer
Trait Implementations§
Source§impl Clone for luaL_Buffer
impl Clone for luaL_Buffer
Source§fn clone(&self) -> luaL_Buffer
fn clone(&self) -> luaL_Buffer
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for luaL_Buffer
impl RefUnwindSafe for luaL_Buffer
impl !Send for luaL_Buffer
impl !Sync for luaL_Buffer
impl Unpin for luaL_Buffer
impl UnwindSafe for luaL_Buffer
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