pub trait IRenderGraphResourcePool_1Methods<T0: ClassIdentity>: ClassIdentity {
Show 13 methods
// Provided methods
fn release_internal_resource(self, res: T0)
where Self: Sized + Into<IlInstance> { ... }
fn get_resource_name(self, res: T0) -> Il2CppString
where Self: Sized + Into<IlInstance> { ... }
fn get_resource_size(self, res: T0) -> i64
where Self: Sized + Into<IlInstance> { ... }
fn get_resource_type_name(self) -> Il2CppString
where Self: Sized + Into<IlInstance> { ... }
fn release_resource(self, hash: i32, resource: T0, current_frame_index: i32)
where Self: Sized { ... }
fn try_get_resource(self, hash_code: i32) -> (bool, T0)
where Self: Sized { ... }
fn purge_unused_resources(self, current_frame_index: i32)
where Self: Sized + Into<IlInstance> { ... }
fn cleanup(self)
where Self: Sized { ... }
fn register_frame_allocation(self, hash: i32, value: T0)
where Self: Sized { ... }
fn unregister_frame_allocation(self, hash: i32, value: T0)
where Self: Sized { ... }
fn check_frame_allocation(self, on_exception: bool, frame_index: i32)
where Self: Sized { ... }
fn log_resources(self, logger: RenderGraphLogger)
where Self: Sized { ... }
fn ctor(self)
where Self: Sized { ... }
}Provided Methods§
fn release_internal_resource(self, res: T0)where
Self: Sized + Into<IlInstance>,
fn get_resource_name(self, res: T0) -> Il2CppStringwhere
Self: Sized + Into<IlInstance>,
fn get_resource_size(self, res: T0) -> i64where
Self: Sized + Into<IlInstance>,
fn get_resource_type_name(self) -> Il2CppStringwhere
Self: Sized + Into<IlInstance>,
fn release_resource(self, hash: i32, resource: T0, current_frame_index: i32)where
Self: Sized,
fn try_get_resource(self, hash_code: i32) -> (bool, T0)where
Self: Sized,
fn purge_unused_resources(self, current_frame_index: i32)where
Self: Sized + Into<IlInstance>,
fn cleanup(self)where
Self: Sized,
fn register_frame_allocation(self, hash: i32, value: T0)where
Self: Sized,
fn unregister_frame_allocation(self, hash: i32, value: T0)where
Self: Sized,
fn check_frame_allocation(self, on_exception: bool, frame_index: i32)where
Self: Sized,
fn log_resources(self, logger: RenderGraphLogger)where
Self: Sized,
fn ctor(self)where
Self: Sized,
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.