#[repr(C)]pub struct CustomAttributeTypedArgument {
pub argument_type: SystemType,
pub value: IlInstance,
}Expand description
Fields§
§argument_type: SystemType§value: IlInstanceImplementations§
Source§impl CustomAttributeTypedArgument
impl CustomAttributeTypedArgument
Sourcepub fn ctor(
&mut self,
argument_type: impl Into<SystemType>,
value: impl Into<Object>,
)
pub fn ctor( &mut self, argument_type: impl Into<SystemType>, value: impl Into<Object>, )
.ctor(::unity::SystemType, crate::system::object::Object) 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 get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl CustomAttributeTypedArgument
impl CustomAttributeTypedArgument
pub fn ctor_method_info() -> &'static MethodInfo
pub fn to_string_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl Clone for CustomAttributeTypedArgument
impl Clone for CustomAttributeTypedArgument
Source§fn clone(&self) -> CustomAttributeTypedArgument
fn clone(&self) -> CustomAttributeTypedArgument
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 CustomAttributeTypedArgument
Auto Trait Implementations§
impl Freeze for CustomAttributeTypedArgument
impl RefUnwindSafe for CustomAttributeTypedArgument
impl !Send for CustomAttributeTypedArgument
impl !Sync for CustomAttributeTypedArgument
impl Unpin for CustomAttributeTypedArgument
impl UnwindSafe for CustomAttributeTypedArgument
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)