FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    frame_surface

    function · ferroui-media-apple · v0.5.0

    fn frame_surface(frame: &FrameLease) -> Result<std::rc::Rc<dyn IPlatformHandle>, MediaError>
    

    Returns an owning import handle; it keeps the decoder allocation leased even if the source is replaced while the compositor import job is still queued.

    View source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.