#[cfg(not(feature = "nostd"))]
use std::time::Duration;
#[derive(Debug, Clone)]
pub struct PerformanceMetrics {
#[cfg(not(feature = "nostd"))]
pub parse_time: Duration,
#[cfg(not(feature = "nostd"))]
pub shape_time: Duration,
#[cfg(not(feature = "nostd"))]
pub render_time: Duration,
#[cfg(not(feature = "nostd"))]
pub total_time: Duration,
#[cfg(feature = "nostd")]
pub parse_time: u64, #[cfg(feature = "nostd")]
pub shape_time: u64, #[cfg(feature = "nostd")]
pub render_time: u64, #[cfg(feature = "nostd")]
pub total_time: u64, }
#[derive(Debug, Clone)]
pub struct CacheStatistics {
pub glyph_hits: usize,
pub font_entries: usize,
}