CompositionCustomVisual
struct · ferroui-base · v0.5.0
struct CompositionCustomVisual
A container visual that draws through a handler on the render thread.
Members
from_visual
fn from_visual(visual: &Rc<CompositionVisual>) -> Option<CompositionCustomVisual>
The handle of visual as a custom visual, if it is one.
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.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDeref
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.