#[repr(C)]pub struct DataType {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl DataType
impl DataType
pub fn nil() -> Self
pub fn void() -> Self
pub fn boolean() -> Self
pub fn number() -> Self
pub fn string() -> Self
pub fn function() -> Self
pub fn table() -> Self
pub fn tuple() -> Self
pub fn user_data() -> Self
pub fn thread() -> Self
pub fn clr_function() -> Self
pub fn tail_call_request() -> Self
pub fn yield_request() -> Self
Trait Implementations§
Source§impl ClassIdentity for DataType
impl ClassIdentity for DataType
impl Copy for DataType
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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)