INNER CODE UNIT · Rust

send_window_metrics

denialwm/denial · compositor/flutter-engine/src/lib.rs:707

    pub fn send_window_metrics(
        &self,
        event: &sys::FlutterWindowMetricsEvent,
    ) -> Result<(), EngineError> {
        let function = self
            .library
            .table
            .SendWindowMetricsEvent
            .expect("validated Flutter proc table");
        // SAFETY: the event remains readable for the synchronous call.
        check_result("SendWindowMetricsEvent", unsafe {
            function(self.handle, event)
        })
    }

    pub fn notify_displays(
        &self,
        update_type: sys::FlutterEngineDisplaysUpdateType,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…