pub trait ICustomAttributeDataMethods: ICustomAttributeData {
// Provided methods
fn ctor(self) { ... }
fn ctor_2(
self,
ctor_info: impl Into<ConstructorInfo>,
assembly: impl Into<Assembly>,
data: impl Into<IntPtr>,
data_length: impl Into<u32>,
) { ... }
fn resolve_arguments(self) { ... }
fn get_constructor(self) -> ConstructorInfo { ... }
fn get_constructor_arguments(
self,
) -> IList_1_Interface<CustomAttributeTypedArgument> { ... }
fn get_named_arguments(
self,
) -> IList_1_Interface<CustomAttributeNamedArgument> { ... }
fn get_attribute_type(self) -> SystemType { ... }
fn to_string(self) -> Il2CppString { ... }
fn equals(self, obj: impl Into<Object>) -> bool { ... }
fn get_hash_code(self) -> i32 { ... }
}Provided Methods§
Sourcefn ctor_2(
self,
ctor_info: impl Into<ConstructorInfo>,
assembly: impl Into<Assembly>,
data: impl Into<IntPtr>,
data_length: impl Into<u32>,
)
fn ctor_2( self, ctor_info: impl Into<ConstructorInfo>, assembly: impl Into<Assembly>, data: impl Into<IntPtr>, data_length: impl Into<u32>, )
.ctor(crate::system::reflection::constructorinfo::ConstructorInfo, crate::system::reflection::assembly::Assembly, ::unity::IntPtr, u32) overload
Sourcefn resolve_arguments(self)
fn resolve_arguments(self)
ResolveArguments() overload
Sourcefn get_constructor(self) -> ConstructorInfo
fn get_constructor(self) -> ConstructorInfo
get_Constructor() overload
Sourcefn get_constructor_arguments(
self,
) -> IList_1_Interface<CustomAttributeTypedArgument>
fn get_constructor_arguments( self, ) -> IList_1_Interface<CustomAttributeTypedArgument>
get_ConstructorArguments() overload
Sourcefn get_named_arguments(self) -> IList_1_Interface<CustomAttributeNamedArgument>
fn get_named_arguments(self) -> IList_1_Interface<CustomAttributeNamedArgument>
get_NamedArguments() overload
Sourcefn get_attribute_type(self) -> SystemType
fn get_attribute_type(self) -> SystemType
get_AttributeType() overload
Sourcefn to_string(self) -> Il2CppString
fn to_string(self) -> Il2CppString
ToString() overload
Sourcefn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: ICustomAttributeData> ICustomAttributeDataMethods for __T
Available on crate feature
system-reflection-customattributedata only.