pub struct FontSetVram {
pub pages: VramHandle,
pub clut: VramHandle,
}Expand description
VRAM reservations backing a set of fonts uploaded together by
upload_fonts. Free both handles through the allocator to reclaim the
VRAM when the owning scene is torn down.
Fields§
§pages: VramHandleThe contiguous page-run reservation that holds every atlas.
clut: VramHandleThe shared 2-entry CLUT reservation.
Trait Implementations§
Source§impl Clone for FontSetVram
impl Clone for FontSetVram
Source§fn clone(&self) -> FontSetVram
fn clone(&self) -> FontSetVram
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FontSetVram
impl Debug for FontSetVram
impl Copy for FontSetVram
Auto Trait Implementations§
impl Freeze for FontSetVram
impl RefUnwindSafe for FontSetVram
impl Send for FontSetVram
impl Sync for FontSetVram
impl Unpin for FontSetVram
impl UnsafeUnpin for FontSetVram
impl UnwindSafe for FontSetVram
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)