pub trait IHostedVisualTreeRoot {
// Required method
fn host(&self) -> Option<Ref<Visual>>;
}Expand description
Interface for controls that are at the root of a hosted visual tree, such as popups.
An input element that is such a root returns itself from the
as_hosted_visual_tree_root virtual member of InputElement.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".