pub struct FontTraceState { /* private fields */ }Implementations§
Source§impl FontTraceState
impl FontTraceState
pub fn begin_frame(&mut self)
pub fn snapshot(&self, frame_id: FrameId) -> RendererTextFontTraceSnapshot
pub fn maybe_record( &mut self, text: &str, style: &TextStyle, constraints: TextConstraints, fallback_policy: &TextFallbackPolicyV1, shaper: &ParleyShaper, missing_glyphs: u32, families: Vec<FontTraceFamilyResolved>, )
Trait Implementations§
Source§impl Clone for FontTraceState
impl Clone for FontTraceState
Source§fn clone(&self) -> FontTraceState
fn clone(&self) -> FontTraceState
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 moreSource§impl Debug for FontTraceState
impl Debug for FontTraceState
Source§impl Default for FontTraceState
impl Default for FontTraceState
Source§fn default() -> FontTraceState
fn default() -> FontTraceState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FontTraceState
impl RefUnwindSafe for FontTraceState
impl Send for FontTraceState
impl Sync for FontTraceState
impl Unpin for FontTraceState
impl UnsafeUnpin for FontTraceState
impl UnwindSafe for FontTraceState
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