#[repr(C)]
pub union lua_val__bindgen_ty_1 {
pub intval: c_uint,
pub floatval: c_float,
pub strval: *const c_char,
}Fields§
§intval: c_uint§floatval: c_float§strval: *const c_charTrait Implementations§
Source§impl Clone for lua_val__bindgen_ty_1
impl Clone for lua_val__bindgen_ty_1
Source§fn clone(&self) -> lua_val__bindgen_ty_1
fn clone(&self) -> lua_val__bindgen_ty_1
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for lua_val__bindgen_ty_1
impl Default for lua_val__bindgen_ty_1
impl Copy for lua_val__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for lua_val__bindgen_ty_1
impl RefUnwindSafe for lua_val__bindgen_ty_1
impl !Send for lua_val__bindgen_ty_1
impl !Sync for lua_val__bindgen_ty_1
impl Unpin for lua_val__bindgen_ty_1
impl UnwindSafe for lua_val__bindgen_ty_1
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes