pub trait HardwareFrameLease:
Debug
+ Send
+ Sync
+ 'static {
// Required methods
fn retained_bytes(&self) -> u64;
fn as_any(&self) -> &dyn Any;
fn into_any(self: Arc<Self>) -> Arc<dyn Any + Send + Sync> ⓘ;
}Expand description
Opaque decoder surface retained until GPU completion.
Required Methods§
Sourcefn retained_bytes(&self) -> u64
fn retained_bytes(&self) -> u64
Approximate allocation size charged to the surface budget.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl HardwareFrameLease for VulkanFrameLease
Available on Linux and crate feature hwdecode only.
impl HardwareFrameLease for VulkanFrameLease
Available on Linux and crate feature
hwdecode only.