You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/embed/rust/src/ui/shape/context/bitmap_cache.rs

15 lines
277 B

use without_alloc::alloc::LocalAllocLeakExt;
pub struct BitmapCache<'a> {
data: &'a [u8],
}
impl<'a> BitmapCache<'a> {
pub fn new<'alloc: 'a, T>(_pool: &'alloc T) -> Self
where
T: LocalAllocLeakExt<'alloc>,
{
BitmapCache { data: &[] }
}
}