#[repr(C)]pub struct Boolean {
pub m_value: bool,
}Expand description
Fields§
§m_value: boolImplementations§
Source§impl Boolean
impl Boolean
pub fn true() -> i32
pub fn set_true(value: i32)
pub fn false() -> i32
pub fn set_false(value: i32)
pub fn true_literal() -> Il2CppString
pub fn set_true_literal(value: Il2CppString)
pub fn false_literal() -> Il2CppString
pub fn set_false_literal(value: Il2CppString)
pub fn true_string() -> Il2CppString
pub fn set_true_string(value: Il2CppString)
pub fn false_string() -> Il2CppString
pub fn set_false_string(value: Il2CppString)
Source§impl Boolean
impl Boolean
Sourcepub fn parse(value: impl Into<Il2CppString>) -> bool
pub fn parse(value: impl Into<Il2CppString>) -> bool
Parse(::unity::Il2CppString) overload
Sourcepub fn try_parse(value: impl Into<Il2CppString>) -> (bool, bool)
pub fn try_parse(value: impl Into<Il2CppString>) -> (bool, bool)
TryParse(::unity::Il2CppString, *mutbool) overload
Sourcepub fn trim_white_space_and_null(value: impl Into<Il2CppString>) -> Il2CppString
pub fn trim_white_space_and_null(value: impl Into<Il2CppString>) -> Il2CppString
TrimWhiteSpaceAndNull(::unity::Il2CppString) overload
Source§impl Boolean
impl Boolean
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 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 compare_to(&mut self, obj: impl Into<Object>) -> i32
pub fn compare_to(&mut self, obj: impl Into<Object>) -> i32
CompareTo(crate::system::object::Object) overload
Sourcepub fn compare_to_2(&mut self, value: impl Into<bool>) -> i32
pub fn compare_to_2(&mut self, value: impl Into<bool>) -> i32
CompareTo(bool) overload
Source§impl Boolean
impl Boolean
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn compare_to_method_info() -> &'static MethodInfo
pub fn compare_to_2_method_info() -> &'static MethodInfo
pub fn parse_method_info() -> &'static MethodInfo
pub fn try_parse_method_info() -> &'static MethodInfo
pub fn trim_white_space_and_null_method_info() -> &'static MethodInfo
pub fn cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Boolean
impl RefUnwindSafe for Boolean
impl Send for Boolean
impl Sync for Boolean
impl Unpin for Boolean
impl UnwindSafe for Boolean
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)