engage/generated/unity_engine/rendering/
delegateutility.rs1#[cfg(feature = "unity_engine-rendering-delegateutility-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8 use crate::system::object::{IObject, Object};
9
10 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/delegateutility/DelegateUtility.md"))]
11 #[::unity::class(namespace = "UnityEngine.Rendering", name = "DelegateUtility")]
12 #[parent(crate::system::object::Object)]
13 pub struct DelegateUtility {}
14}
15
16#[cfg(feature = "unity_engine-rendering-delegateutility-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-rendering-delegateutility")]
20impl DelegateUtility {
21 #[doc = "`Cast(crate::system::delegate::Delegate, ::unity::SystemType)` overload"]
22 pub fn cast(
23 source: impl ::core::convert::Into<crate::system::delegate::Delegate>,
24 r#type: impl ::core::convert::Into<::unity::SystemType>,
25 ) -> crate::system::delegate::Delegate {
26 unsafe {
27 ::unity::il2cpp_call!((::unity::module_base()+0x30a9140usize)as*mut u8,crate::system::delegate::Delegate;
28(crate::system::delegate::Delegate)::core::convert::Into::into(source),(::unity::SystemType)::core::convert::Into::into(r#type))
29 }
30 }
31}
32
33#[cfg(feature = "unity_engine-rendering-delegateutility")]
34impl DelegateUtility {
35 pub fn cast_method_info() -> &'static ::unity::il2cpp::MethodInfo {
36 <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
37 }
38}
39
40#[cfg(feature = "unity_engine-rendering-delegateutility")]
41#[doc(hidden)]
42pub mod prelude {
43 pub use super::{DelegateUtility, IDelegateUtility};
44 pub use crate::system::object::IObject;
45 #[cfg(feature = "system-object")]
46 pub use crate::system::object::IObjectMethods;
47}