use std::fmt::Debug;
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)]
pub struct SurfaceIdentity {
pub generation: u64,
pub picture: u64,
}
pub trait NativeSurfaceLease: Debug + Send + Sync + 'static {
fn identity(&self) -> SurfaceIdentity;
fn retained_bytes(&self) -> u64;
}