[−][src]Struct smash::lib::L2CValue
Fields
val_type: L2CValueType
unk1: u32
inner: L2CValueInner
unk2: u8
Methods
impl L2CValue
[src][−]
pub const fn new_void() -> Self
[src]
pub const fn new_bool(val: bool) -> Self
[src]
pub const fn new_int(val: u64) -> Self
[src]
pub const fn new_num(val: f32) -> Self
[src]
pub const fn new_hash(val: u64) -> Self
[src]
pub fn try_get_bool(&self) -> Option<bool>
[src]
pub fn get_bool(&self) -> bool
[src]
pub fn try_get_int(&self) -> Option<u64>
[src]
pub fn get_int(&self) -> u64
[src]
pub fn try_get_num(&self) -> Option<f32>
[src]
pub fn get_num(&self) -> f32
[src]
pub fn try_get_ptr<T>(&self) -> Option<*mut T>
[src]
pub fn get_ptr<T>(&self) -> *mut T
[src]
pub fn assign(&mut self, other: &Self)
[src]
impl L2CValue
[src][−]
pub unsafe fn push_variadic(
&mut self,
arg1: u64,
arg2: *const c_char,
arg3: *mut Variadic
)
[src]
&mut self,
arg1: u64,
arg2: *const c_char,
arg3: *mut Variadic
)
pub unsafe fn new() -> Self
[src]
pub unsafe fn new1(val: bool) -> Self
[src]
pub unsafe fn new2(val: c_int) -> Self
[src]
pub unsafe fn new3(val: u64) -> Self
[src]
pub unsafe fn new4(val: f32) -> Self
[src]
pub unsafe fn new5(val: f64) -> Self
[src]
pub unsafe fn new6(str: *const c_char) -> Self
[src]
Trait Implementations
impl Clone for L2CValue
[src][+]
impl Copy for L2CValue
[src]
impl Debug for L2CValue
[src][+]
impl Default for L2CValue
[src][+]
impl<Idx: LuaTableIndex> Index<Idx> for L2CValue
[src][+]
impl<Idx: LuaTableIndex> IndexMut<Idx> for L2CValue
[src][+]
impl Into<L2CValue> for LuaConst
[src][+]
impl Into<L2CValue> for bool
[src][+]
impl Into<L2CValue> for f32
[src][+]
impl Into<L2CValue> for f64
[src][+]
impl Into<L2CValue> for i8
[src][+]
impl Into<L2CValue> for u8
[src][+]
impl Into<L2CValue> for i16
[src][+]
impl Into<L2CValue> for u16
[src][+]
impl Into<L2CValue> for i32
[src][+]
impl Into<L2CValue> for u32
[src][+]
impl Into<L2CValue> for u64
[src][+]
impl Into<L2CValue> for i64
[src][+]
impl LuaTableIndex for L2CValue
[src][+]
impl PartialEq<L2CValue> for LuaConst
[src][+]
impl PartialEq<LuaConst> for L2CValue
[src][+]
impl PartialOrd<LuaConst> for L2CValue
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for L2CValue
impl !Send for L2CValue
impl !Sync for L2CValue
impl Unpin for L2CValue
impl UnwindSafe for L2CValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,