FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionCustomVisual

    struct · ferroui-base · v0.5.0

    struct CompositionCustomVisual
    

    A container visual that draws through a handler on the render thread.

    View source

    Members

    from_visual

    fn from_visual(visual: &Rc<CompositionVisual>) -> Option<CompositionCustomVisual>
    

    The handle of visual as a custom visual, if it is one.

    Source

    send_handler_message

    fn send_handler_message(self: &Self, message: std::sync::Arc<dyn Any + Send + Sync>)
    

    Sends a message to the handler, which receives it on the render thread with the next commit.

    Source

    Trait implementations

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

    Availability

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