#[repr(C)]pub struct Int32 {
pub m_value: i32,
}Expand description
Fields§
§m_value: i32Implementations§
Source§impl Int32
impl Int32
pub fn max_value() -> i32
pub fn set_max_value(value: i32)
pub fn min_value() -> i32
pub fn set_min_value(value: i32)
Source§impl Int32
impl Int32
Sourcepub fn parse(s: impl Into<Il2CppString>) -> i32
pub fn parse(s: impl Into<Il2CppString>) -> i32
Parse(::unity::Il2CppString) overload
Sourcepub fn try_parse(s: impl Into<Il2CppString>) -> (bool, i32)
pub fn try_parse(s: impl Into<Il2CppString>) -> (bool, i32)
TryParse(::unity::Il2CppString, *muti32) overload
Source§impl Int32
impl Int32
Sourcepub fn compare_to(&mut self, value: impl Into<Object>) -> i32
pub fn compare_to(&mut self, value: impl Into<Object>) -> i32
CompareTo(crate::system::object::Object) overload
Sourcepub fn compare_to_2(&mut self, value: impl Into<i32>) -> i32
pub fn compare_to_2(&mut self, value: impl Into<i32>) -> i32
CompareTo(i32) overload
Sourcepub fn equals(&mut self, obj: impl Into<Object>) -> bool
pub fn equals(&mut self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
Sourcepub fn to_string_2(&mut self, format: impl Into<Il2CppString>) -> Il2CppString
pub fn to_string_2(&mut self, format: impl Into<Il2CppString>) -> Il2CppString
ToString(::unity::Il2CppString) overload
Source§impl Int32
impl Int32
pub fn compare_to_method_info() -> &'static MethodInfo
pub fn compare_to_2_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
pub fn to_string_2_method_info() -> &'static MethodInfo
pub fn parse_method_info() -> &'static MethodInfo
pub fn try_parse_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Int32
impl RefUnwindSafe for Int32
impl Send for Int32
impl Sync for Int32
impl Unpin for Int32
impl UnwindSafe for Int32
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)