FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MediaPlaybackSession

    struct · ferroui-media-video · v0.5.0

    struct MediaPlaybackSession
    

    View source

    Members

    state

    state: MediaPlaybackState
    

    Source

    position

    position: std::time::Duration
    

    Source

    duration

    duration: Option<std::time::Duration>
    

    Source

    natural_size

    natural_size: Option<(u32, u32)>
    

    Source

    seekable

    seekable: bool
    

    Source

    decode

    decode: crate::frames::Acceleration
    

    Source

    error

    error: Option<crate::MediaError>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • Default

    Availability

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