#[repr(C)]pub struct Int16 {
pub m_value: i16,
}Expand description
Fields§
§m_value: i16Implementations§
Source§impl Int16
impl Int16
pub fn max_value() -> i16
pub fn set_max_value(value: i16)
pub fn min_value() -> i16
pub fn set_min_value(value: i16)
Source§impl Int16
impl Int16
Sourcepub fn parse(s: impl Into<Il2CppString>) -> i16
pub fn parse(s: impl Into<Il2CppString>) -> i16
Parse(::unity::Il2CppString) overload
Source§impl Int16
impl Int16
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<i16>) -> i32
pub fn compare_to_2(&mut self, value: impl Into<i16>) -> i32
CompareTo(i16) 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
Source§impl Int16
impl Int16
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 parse_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Int16
impl RefUnwindSafe for Int16
impl Send for Int16
impl Sync for Int16
impl Unpin for Int16
impl UnwindSafe for Int16
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)