#[repr(C)]pub struct CustomAttributeNamedArgument {
pub typed_argument: CustomAttributeTypedArgument,
pub member_info: MemberInfo,
}Expand description
Fields§
§typed_argument: CustomAttributeTypedArgument§member_info: MemberInfoImplementations§
Source§impl CustomAttributeNamedArgument
impl CustomAttributeNamedArgument
Sourcepub fn ctor(
&mut self,
member_info: impl Into<MemberInfo>,
value: impl Into<Object>,
)
pub fn ctor( &mut self, member_info: impl Into<MemberInfo>, value: impl Into<Object>, )
.ctor(crate::system::reflection::memberinfo::MemberInfo, 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 CustomAttributeNamedArgument
impl CustomAttributeNamedArgument
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 CustomAttributeNamedArgument
impl Clone for CustomAttributeNamedArgument
Source§fn clone(&self) -> CustomAttributeNamedArgument
fn clone(&self) -> CustomAttributeNamedArgument
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 CustomAttributeNamedArgument
Auto Trait Implementations§
impl Freeze for CustomAttributeNamedArgument
impl RefUnwindSafe for CustomAttributeNamedArgument
impl !Send for CustomAttributeNamedArgument
impl !Sync for CustomAttributeNamedArgument
impl Unpin for CustomAttributeNamedArgument
impl UnwindSafe for CustomAttributeNamedArgument
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)