Struct Model
pub struct Model {
fonts: [TextFont; 3],
source_name: String,
state: State,
revision: u32,
delivery: u32,
refresh_exhausted: bool,
prepared: Prepared,
diagnostic: Option<Error>,
pub snapshot: String,
}Fields§
§fonts: [TextFont; 3]§source_name: String§state: State§revision: u32§delivery: u32§refresh_exhausted: bool§prepared: Prepared§diagnostic: Option<Error>§snapshot: StringImplementations§
§impl Model
impl Model
pub fn new(fonts: [TextFont; 3], source_name: &str) -> Result<Self, Error>
pub fn delivery(&self) -> u32
pub fn geometry(&self) -> &str
pub(crate) fn fixture_delivery_near_limit(&mut self)
pub(crate) fn fixture_delivery_near_limit(&mut self)
Own-window fixture injection avoids iterating four billion refreshes; it changes only private delivery bookkeeping, not model/image state.