#[non_exhaustive]#[repr(C)]pub struct lua_CompileOptions {Show 13 fields
pub optimizationLevel: c_int,
pub debugLevel: c_int,
pub typeInfoLevel: c_int,
pub coverageLevel: c_int,
pub vectorLib: *const c_char,
pub vectorCtor: *const c_char,
pub vectorType: *const c_char,
pub mutableGlobals: *const *const c_char,
pub userdataTypes: *const *const c_char,
pub librariesWithKnownMembers: *const *const c_char,
pub libraryMemberTypeCallback: Option<lua_LibraryMemberTypeCallback>,
pub libraryMemberConstantCallback: Option<lua_LibraryMemberConstantCallback>,
pub disabledBuiltins: *const *const c_char,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.optimizationLevel: c_int§debugLevel: c_int§typeInfoLevel: c_int§coverageLevel: c_int§vectorLib: *const c_char§vectorCtor: *const c_char§vectorType: *const c_char§mutableGlobals: *const *const c_char§userdataTypes: *const *const c_char§librariesWithKnownMembers: *const *const c_char§libraryMemberTypeCallback: Option<lua_LibraryMemberTypeCallback>§libraryMemberConstantCallback: Option<lua_LibraryMemberConstantCallback>§disabledBuiltins: *const *const c_charTrait Implementations§
Auto Trait Implementations§
impl Freeze for lua_CompileOptions
impl RefUnwindSafe for lua_CompileOptions
impl !Send for lua_CompileOptions
impl !Sync for lua_CompileOptions
impl Unpin for lua_CompileOptions
impl UnwindSafe for lua_CompileOptions
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