#[repr(C)]pub struct Double {
pub m_value: f64,
}Expand description
Fields§
§m_value: f64Implementations§
Source§impl Double
impl Double
pub fn min_value() -> f64
pub fn set_min_value(value: f64)
pub fn max_value() -> f64
pub fn set_max_value(value: f64)
pub fn epsilon() -> f64
pub fn set_epsilon(value: f64)
pub fn negative_infinity() -> f64
pub fn set_negative_infinity(value: f64)
pub fn positive_infinity() -> f64
pub fn set_positive_infinity(value: f64)
pub fn na_n() -> f64
pub fn set_na_n(value: f64)
pub fn negative_zero() -> f64
pub fn set_negative_zero(value: f64)
Source§impl Double
impl Double
Sourcepub fn is_infinity(d: impl Into<f64>) -> bool
pub fn is_infinity(d: impl Into<f64>) -> bool
IsInfinity(f64) overload
Sourcepub fn is_positive_infinity(d: impl Into<f64>) -> bool
pub fn is_positive_infinity(d: impl Into<f64>) -> bool
IsPositiveInfinity(f64) overload
Sourcepub fn is_negative_infinity(d: impl Into<f64>) -> bool
pub fn is_negative_infinity(d: impl Into<f64>) -> bool
IsNegativeInfinity(f64) overload
Sourcepub fn is_negative(d: impl Into<f64>) -> bool
pub fn is_negative(d: impl Into<f64>) -> bool
IsNegative(f64) overload
Sourcepub fn parse(s: impl Into<Il2CppString>) -> f64
pub fn parse(s: impl Into<Il2CppString>) -> f64
Parse(::unity::Il2CppString) overload
Sourcepub fn try_parse(s: impl Into<Il2CppString>) -> (bool, f64)
pub fn try_parse(s: impl Into<Il2CppString>) -> (bool, f64)
TryParse(::unity::Il2CppString, *mutf64) overload
Source§impl Double
impl Double
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<f64>) -> i32
pub fn compare_to_2(&mut self, value: impl Into<f64>) -> i32
CompareTo(f64) 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 Double
impl Double
pub fn is_infinity_method_info() -> &'static MethodInfo
pub fn is_positive_infinity_method_info() -> &'static MethodInfo
pub fn is_negative_infinity_method_info() -> &'static MethodInfo
pub fn is_negative_method_info() -> &'static MethodInfo
pub fn is_na_n_method_info() -> &'static MethodInfo
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
pub fn cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Double
impl RefUnwindSafe for Double
impl Send for Double
impl Sync for Double
impl Unpin for Double
impl UnwindSafe for Double
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)