pub enum FontBudgetResource {
FontBytes,
FontGlyphs,
TextBytes,
ShapedGlyphs,
GlyphPixels,
OutlineSegments,
}Expand description
Resource whose explicit font or layout limit was exceeded.
Variants§
FontBytes
Capacity of the owned source-font byte vector.
FontGlyphs
Glyph entries declared by the font.
TextBytes
UTF-8 bytes submitted for one line, checked before shaping.
ShapedGlyphs
Shaped output glyphs, checked after dependency shaping.
GlyphPixels
Pixel cells in one glyph’s physical coverage bitmap.
OutlineSegments
Outline commands in one glyph, counted before outline/raster allocation.
Trait Implementations§
Source§impl Clone for FontBudgetResource
impl Clone for FontBudgetResource
Source§fn clone(&self) -> FontBudgetResource
fn clone(&self) -> FontBudgetResource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FontBudgetResource
Source§impl Debug for FontBudgetResource
impl Debug for FontBudgetResource
impl Eq for FontBudgetResource
Source§impl PartialEq for FontBudgetResource
impl PartialEq for FontBudgetResource
impl StructuralPartialEq for FontBudgetResource
Auto Trait Implementations§
impl Freeze for FontBudgetResource
impl RefUnwindSafe for FontBudgetResource
impl Send for FontBudgetResource
impl Sync for FontBudgetResource
impl Unpin for FontBudgetResource
impl UnsafeUnpin for FontBudgetResource
impl UnwindSafe for FontBudgetResource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.