EmbeddableControlRoot
struct · ferroui-controls · v0.5.0
struct EmbeddableControlRoot
A top-level that hosts a control tree inside a surface provided by someone else: a native control of another toolkit, a single-view platform, an offscreen buffer.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<EmbeddableControlRoot>
Returns a strong reference to this object.
dispose
fn dispose(self: &Self)
Releases the platform implementation and tears the root down.
new
fn new() -> Ref<Self>
Creates a root over an embeddable top-level of the windowing platform.
enforce_client_size
fn enforce_client_size(self: &Self) -> bool
Whether the root is always measured with, and sized to, the client size of the platform implementation (protected upstream: for derived classes).
set_enforce_client_size
fn set_enforce_client_size(self: &Self, value: bool)
prepare
fn prepare(self: &Self)
Initializes the root, applies its template and runs the initial layout pass.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeEmbeddableControlRootImplExtTemplatedControlImplExtContentControlImplExtControlImplExtTopLevelImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<EmbeddableControlRoot>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplVisualImplInteractiveImplContentControlImplTopLevelImplControlImplTemplatedControlImplIFocusScopeInputElementImplStyledElementImplLayoutableImplEmbeddableControlRootImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.