pub struct FontPackMetrics {
pub pages: u16,
pub upload_rows: u16,
pub scratch_halfwords: usize,
}Expand description
VRAM and scratch requirements for one packed font-set upload.
Fields§
§pages: u16Minimum contiguous page run requested by the bounded packer.
upload_rows: u16Rows transferred by the single combined GP0(A0h) upload.
scratch_halfwords: usizeCaller-owned scratch halfwords required for that upload.
Trait Implementations§
Source§impl Clone for FontPackMetrics
impl Clone for FontPackMetrics
Source§fn clone(&self) -> FontPackMetrics
fn clone(&self) -> FontPackMetrics
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 FontPackMetrics
impl Debug for FontPackMetrics
Source§impl PartialEq for FontPackMetrics
impl PartialEq for FontPackMetrics
impl Copy for FontPackMetrics
impl Eq for FontPackMetrics
impl StructuralPartialEq for FontPackMetrics
Auto Trait Implementations§
impl Freeze for FontPackMetrics
impl RefUnwindSafe for FontPackMetrics
impl Send for FontPackMetrics
impl Sync for FontPackMetrics
impl Unpin for FontPackMetrics
impl UnsafeUnpin for FontPackMetrics
impl UnwindSafe for FontPackMetrics
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)