FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BrowserFrameStream

    struct · ferroui-media-browser · v0.5.0

    struct BrowserFrameStream
    

    One producer transfer in flight, with latest-native-frame dropping. A second view reads the shared mailbox; it does not call this acquisition.

    View source

    Members

    clear

    fn clear(self: &Self)
    

    Retire queued producer output on seek/stop. Submitted GPU storage is still held by its completion; the last native sequence stays rejected.

    Source

    has_pending_frame_work

    fn has_pending_frame_work(self: &Self) -> bool
    

    Source

    poll

    fn poll(self: &Self, sample: impl FnOnce() -> Result<Option<BrowserImageFrame>, MediaError>) -> Result<Option<FrameLease>, MediaError>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Upcast<T>

    Availability

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