[−][src]Struct smash::lib::LuaConst
pub struct LuaConst { /* fields omitted */ }
Methods
impl LuaConst
[src][−]
Trait Implementations
impl Clone for LuaConst
[src][+]
fn clone(&self) -> Self
[src][−]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src][−]
Performs copy-assignment from source
. Read more
impl Deref for LuaConst
[src][+]
type Target = i32
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src][−]
Dereferences the value.
impl Eq for LuaConst
[src]
impl From<LuaConst> for i32
[src][+]
fn from(lua_const: LuaConst) -> Self
[src][−]
Performs the conversion.
impl From<LuaConst> for u32
[src][+]
fn from(lua_const: LuaConst) -> Self
[src][−]
Performs the conversion.
impl Hash for LuaConst
[src][+]
fn hash<H: Hasher>(&self, state: &mut H)
[src][−]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src][−]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Into<L2CValue> for LuaConst
[src][+]
impl PartialEq<L2CValue> for LuaConst
[src][+]
fn eq(&self, other: &L2CValue) -> bool
[src][−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests for !=
.
impl PartialEq<LuaConst> for LuaConst
[src][+]
fn eq(&self, other: &LuaConst) -> bool
[src][−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests for !=
.
impl PartialEq<LuaConst> for L2CValue
[src][+]
fn eq(&self, other: &LuaConst) -> bool
[src][−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests for !=
.
impl PartialEq<LuaConst> for i32
[src][+]
fn eq(&self, other: &LuaConst) -> bool
[src][−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests for !=
.
impl PartialEq<LuaConst> for u32
[src][+]
fn eq(&self, other: &LuaConst) -> bool
[src][−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests for !=
.
impl PartialEq<LuaConst> for u64
[src][+]
fn eq(&self, other: &LuaConst) -> bool
[src][−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests for !=
.
impl PartialEq<i32> for LuaConst
[src][+]
fn eq(&self, other: &i32) -> bool
[src][−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests for !=
.
impl PartialEq<u32> for LuaConst
[src][+]
fn eq(&self, other: &u32) -> bool
[src][−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests for !=
.
impl PartialEq<u64> for LuaConst
[src][+]
fn eq(&self, other: &u64) -> bool
[src][−]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests for !=
.
impl PartialOrd<LuaConst> for L2CValue
[src][+]
fn partial_cmp(&self, other: &LuaConst) -> Option<Ordering>
[src][−]
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialOrd<LuaConst> for i32
[src][+]
fn partial_cmp(&self, other: &LuaConst) -> Option<Ordering>
[src][−]
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialOrd<LuaConst> for u32
[src][+]
fn partial_cmp(&self, other: &LuaConst) -> Option<Ordering>
[src][−]
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialOrd<LuaConst> for u64
[src][+]
fn partial_cmp(&self, other: &LuaConst) -> Option<Ordering>
[src][−]
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialOrd<i32> for LuaConst
[src][+]
fn partial_cmp(&self, other: &i32) -> Option<Ordering>
[src][−]
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialOrd<u32> for LuaConst
[src][+]
fn partial_cmp(&self, other: &u32) -> Option<Ordering>
[src][−]
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialOrd<u64> for LuaConst
[src][+]
fn partial_cmp(&self, other: &u64) -> Option<Ordering>
[src][−]
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src][−]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
Auto Trait Implementations
impl !RefUnwindSafe for LuaConst
impl Send for LuaConst
impl !Sync for LuaConst
impl Unpin for LuaConst
impl UnwindSafe for LuaConst
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
[src][−]
Gets the TypeId
of self
. Read more
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
fn borrow(&self) -> &T
[src][−]
Immutably borrows from an owned value. Read more
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src][−]
Mutably borrows from an owned value. Read more
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,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src][−]
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src][−]
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src][−]
Performs the conversion.
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,