#[repr(C)]pub struct SerializedType {
pub m_assembly_name: Il2CppString,
pub m_class_name: Il2CppString,
pub m_cached_type: SystemType,
}Expand description
Fields§
§m_assembly_name: Il2CppString§m_class_name: Il2CppString§m_cached_type: SystemTypeImplementations§
Source§impl SerializedType
impl SerializedType
Sourcepub fn get_assembly_name(&mut self) -> Il2CppString
pub fn get_assembly_name(&mut self) -> Il2CppString
get_AssemblyName() overload
Sourcepub fn get_class_name(&mut self) -> Il2CppString
pub fn get_class_name(&mut self) -> Il2CppString
get_ClassName() overload
Sourcepub fn to_string(&mut self) -> Il2CppString
pub fn to_string(&mut self) -> Il2CppString
ToString() overload
Sourcepub fn set_value(&mut self, value: impl Into<SystemType>)
pub fn set_value(&mut self, value: impl Into<SystemType>)
set_Value(::unity::SystemType) overload
Sourcepub fn get_value_changed(&mut self) -> bool
pub fn get_value_changed(&mut self) -> bool
get_ValueChanged() overload
Sourcepub fn set_value_changed(&mut self, value: impl Into<bool>)
pub fn set_value_changed(&mut self, value: impl Into<bool>)
set_ValueChanged(bool) overload
Source§impl SerializedType
impl SerializedType
pub fn get_assembly_name_method_info() -> &'static MethodInfo
pub fn get_class_name_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
pub fn get_value_method_info() -> &'static MethodInfo
pub fn set_value_method_info() -> &'static MethodInfo
pub fn get_value_changed_method_info() -> &'static MethodInfo
pub fn set_value_changed_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for SerializedType
impl ClassIdentity for SerializedType
Source§impl Clone for SerializedType
impl Clone for SerializedType
Source§fn clone(&self) -> SerializedType
fn clone(&self) -> SerializedType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SerializedType
Auto Trait Implementations§
impl Freeze for SerializedType
impl RefUnwindSafe for SerializedType
impl !Send for SerializedType
impl !Sync for SerializedType
impl Unpin for SerializedType
impl UnwindSafe for SerializedType
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)