pub struct RendererTextFontTraceEntry {
pub text_preview: String,
pub text_len_bytes: u32,
pub font: FontId,
pub font_size: Px,
pub scale_factor: f32,
pub wrap: TextWrap,
pub overflow: TextOverflow,
pub max_width: Option<Px>,
pub locale_bcp47: Option<String>,
pub missing_glyphs: u32,
pub families: Vec<RendererTextFontTraceFamilyUsage>,
}Fields§
§text_preview: StringHuman-readable preview of the text (may be truncated).
text_len_bytes: u32§font: FontId§font_size: Px§scale_factor: f32§wrap: TextWrap§overflow: TextOverflow§max_width: Option<Px>§locale_bcp47: Option<String>§missing_glyphs: u32§families: Vec<RendererTextFontTraceFamilyUsage>Families used by shaping/rasterization for this blob (best-effort).
Trait Implementations§
Source§impl Clone for RendererTextFontTraceEntry
impl Clone for RendererTextFontTraceEntry
Source§fn clone(&self) -> RendererTextFontTraceEntry
fn clone(&self) -> RendererTextFontTraceEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RendererTextFontTraceEntry
impl RefUnwindSafe for RendererTextFontTraceEntry
impl Send for RendererTextFontTraceEntry
impl Sync for RendererTextFontTraceEntry
impl Unpin for RendererTextFontTraceEntry
impl UnsafeUnpin for RendererTextFontTraceEntry
impl UnwindSafe for RendererTextFontTraceEntry
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