#[repr(C)]pub struct Char {
pub m_value: u16,
}Expand description
Fields§
§m_value: u16Implementations§
Source§impl Char
impl Char
pub fn max_value() -> u16
pub fn set_max_value(value: u16)
pub fn min_value() -> u16
pub fn set_min_value(value: u16)
pub fn category_for_latin1() -> Array<u8>
pub fn set_category_for_latin1(value: Array<u8>)
pub fn unicode_plane00_end() -> i32
pub fn set_unicode_plane00_end(value: i32)
pub fn unicode_plane01_start() -> i32
pub fn set_unicode_plane01_start(value: i32)
pub fn unicode_plane16_end() -> i32
pub fn set_unicode_plane16_end(value: i32)
pub fn high_surrogate_start() -> i32
pub fn set_high_surrogate_start(value: i32)
pub fn low_surrogate_end() -> i32
pub fn set_low_surrogate_end(value: i32)
Source§impl Char
impl Char
Sourcepub fn to_string_2(c: impl Into<u16>) -> Il2CppString
pub fn to_string_2(c: impl Into<u16>) -> Il2CppString
ToString(u16) overload
Sourcepub fn parse(s: impl Into<Il2CppString>) -> u16
pub fn parse(s: impl Into<Il2CppString>) -> u16
Parse(::unity::Il2CppString) overload
Sourcepub fn try_parse(s: impl Into<Il2CppString>) -> (bool, u16)
pub fn try_parse(s: impl Into<Il2CppString>) -> (bool, u16)
TryParse(::unity::Il2CppString, *mutu16) overload
Sourcepub fn is_white_space_latin1(c: impl Into<u16>) -> bool
pub fn is_white_space_latin1(c: impl Into<u16>) -> bool
IsWhiteSpaceLatin1(u16) overload
Sourcepub fn is_white_space(c: impl Into<u16>) -> bool
pub fn is_white_space(c: impl Into<u16>) -> bool
IsWhiteSpace(u16) overload
Sourcepub fn is_punctuation(c: impl Into<u16>) -> bool
pub fn is_punctuation(c: impl Into<u16>) -> bool
IsPunctuation(u16) overload
Sourcepub fn is_letter_or_digit(c: impl Into<u16>) -> bool
pub fn is_letter_or_digit(c: impl Into<u16>) -> bool
IsLetterOrDigit(u16) overload
Sourcepub fn to_upper_invariant(c: impl Into<u16>) -> u16
pub fn to_upper_invariant(c: impl Into<u16>) -> u16
ToUpperInvariant(u16) overload
Sourcepub fn to_lower_invariant(c: impl Into<u16>) -> u16
pub fn to_lower_invariant(c: impl Into<u16>) -> u16
ToLowerInvariant(u16) overload
Sourcepub fn is_control(c: impl Into<u16>) -> bool
pub fn is_control(c: impl Into<u16>) -> bool
IsControl(u16) overload
Sourcepub fn is_number_2(s: impl Into<Il2CppString>, index: impl Into<i32>) -> bool
pub fn is_number_2(s: impl Into<Il2CppString>, index: impl Into<i32>) -> bool
IsNumber(::unity::Il2CppString, i32) overload
Sourcepub fn is_separator_latin1(c: impl Into<u16>) -> bool
pub fn is_separator_latin1(c: impl Into<u16>) -> bool
IsSeparatorLatin1(u16) overload
Sourcepub fn is_separator(c: impl Into<u16>) -> bool
pub fn is_separator(c: impl Into<u16>) -> bool
IsSeparator(u16) overload
Sourcepub fn is_surrogate(c: impl Into<u16>) -> bool
pub fn is_surrogate(c: impl Into<u16>) -> bool
IsSurrogate(u16) overload
Sourcepub fn is_surrogate_2(s: impl Into<Il2CppString>, index: impl Into<i32>) -> bool
pub fn is_surrogate_2(s: impl Into<Il2CppString>, index: impl Into<i32>) -> bool
IsSurrogate(::unity::Il2CppString, i32) overload
Sourcepub fn is_high_surrogate(c: impl Into<u16>) -> bool
pub fn is_high_surrogate(c: impl Into<u16>) -> bool
IsHighSurrogate(u16) overload
Sourcepub fn is_high_surrogate_2(
s: impl Into<Il2CppString>,
index: impl Into<i32>,
) -> bool
pub fn is_high_surrogate_2( s: impl Into<Il2CppString>, index: impl Into<i32>, ) -> bool
IsHighSurrogate(::unity::Il2CppString, i32) overload
Sourcepub fn is_low_surrogate(c: impl Into<u16>) -> bool
pub fn is_low_surrogate(c: impl Into<u16>) -> bool
IsLowSurrogate(u16) overload
Sourcepub fn is_surrogate_pair(
high_surrogate: impl Into<u16>,
low_surrogate: impl Into<u16>,
) -> bool
pub fn is_surrogate_pair( high_surrogate: impl Into<u16>, low_surrogate: impl Into<u16>, ) -> bool
IsSurrogatePair(u16, u16) overload
Sourcepub fn convert_from_utf32(utf32: impl Into<i32>) -> Il2CppString
pub fn convert_from_utf32(utf32: impl Into<i32>) -> Il2CppString
ConvertFromUtf32(i32) overload
Sourcepub fn convert_to_utf32(
high_surrogate: impl Into<u16>,
low_surrogate: impl Into<u16>,
) -> i32
pub fn convert_to_utf32( high_surrogate: impl Into<u16>, low_surrogate: impl Into<u16>, ) -> i32
ConvertToUtf32(u16, u16) overload
Source§impl Char
impl Char
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() 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, 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<u16>) -> i32
pub fn compare_to_2(&mut self, value: impl Into<u16>) -> i32
CompareTo(u16) overload
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
Source§impl Char
impl Char
pub fn is_latin1_method_info() -> &'static MethodInfo
pub fn is_ascii_method_info() -> &'static MethodInfo
pub fn get_hash_code_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 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 is_digit_method_info() -> &'static MethodInfo
pub fn is_letter_method_info() -> &'static MethodInfo
pub fn is_white_space_latin1_method_info() -> &'static MethodInfo
pub fn is_white_space_method_info() -> &'static MethodInfo
pub fn is_upper_method_info() -> &'static MethodInfo
pub fn is_lower_method_info() -> &'static MethodInfo
pub fn is_punctuation_method_info() -> &'static MethodInfo
pub fn is_letter_or_digit_method_info() -> &'static MethodInfo
pub fn to_upper_method_info() -> &'static MethodInfo
pub fn to_upper_invariant_method_info() -> &'static MethodInfo
pub fn to_lower_method_info() -> &'static MethodInfo
pub fn to_lower_invariant_method_info() -> &'static MethodInfo
pub fn is_control_method_info() -> &'static MethodInfo
pub fn is_number_method_info() -> &'static MethodInfo
pub fn is_number_2_method_info() -> &'static MethodInfo
pub fn is_separator_latin1_method_info() -> &'static MethodInfo
pub fn is_separator_method_info() -> &'static MethodInfo
pub fn is_surrogate_method_info() -> &'static MethodInfo
pub fn is_surrogate_2_method_info() -> &'static MethodInfo
pub fn is_symbol_method_info() -> &'static MethodInfo
pub fn is_high_surrogate_method_info() -> &'static MethodInfo
pub fn is_high_surrogate_2_method_info() -> &'static MethodInfo
pub fn is_low_surrogate_method_info() -> &'static MethodInfo
pub fn is_surrogate_pair_method_info() -> &'static MethodInfo
pub fn convert_from_utf32_method_info() -> &'static MethodInfo
pub fn convert_to_utf32_method_info() -> &'static MethodInfo
pub fn cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Char
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnwindSafe for Char
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
§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)
clone_to_uninit)