pub trait IStaticAccessorAttributeMethods: IStaticAccessorAttribute {
// Provided methods
fn set_name(self, value: impl Into<Il2CppString>) { ... }
fn set_type(self, value: impl Into<StaticAccessorType>) { ... }
fn ctor(self, name: impl Into<Il2CppString>) { ... }
fn ctor_2(
self,
name: impl Into<Il2CppString>,
type: impl Into<StaticAccessorType>,
) { ... }
}Provided Methods§
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_Name(::unity::Il2CppString) overload
Sourcefn set_type(self, value: impl Into<StaticAccessorType>)
fn set_type(self, value: impl Into<StaticAccessorType>)
set_Type(crate::unity_engine::bindings::staticaccessortype::StaticAccessorType) overload
Sourcefn ctor(self, name: impl Into<Il2CppString>)
fn ctor(self, name: impl Into<Il2CppString>)
.ctor(::unity::Il2CppString) overload
Sourcefn ctor_2(
self,
name: impl Into<Il2CppString>,
type: impl Into<StaticAccessorType>,
)
fn ctor_2( self, name: impl Into<Il2CppString>, type: impl Into<StaticAccessorType>, )
.ctor(::unity::Il2CppString, crate::unity_engine::bindings::staticaccessortype::StaticAccessorType) 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: IStaticAccessorAttribute> IStaticAccessorAttributeMethods for __T
Available on crate feature
unity_engine-bindings-staticaccessorattribute only.