FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionGpuImportedObjectBase

    struct · ferroui-base · v0.5.0

    struct CompositionGpuImportedObjectBase<T: IServerGpuImportedObject>
    

    What upstream's CompositionGpuImportedObjectBase holds on the side of the caller: the compositor, the task of the import and the handle of the server part.

    View source

    Members

    compositor

    fn compositor(self: &Self) -> &Rc<Compositor>
    

    Source

    is_lost

    fn is_lost(self: &Self) -> bool
    

    Upstream reads the context from the UI thread as it is; here this thread enters the compositor lock for it.

    Source

    Trait implementations

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

    Availability

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