OffscreenTopLevel
struct · ferroui-controls · v0.5.0
struct OffscreenTopLevel
A top-level over an offscreen implementation: laid out and rendered without a window of the platform.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<OffscreenTopLevel>
Returns a strong reference to this object.
construct
fn construct(platform_impl: Rc<OffscreenTopLevelImplBase>) -> Self
Field initialisation of a top-level over an offscreen implementation.
new
fn new(platform_impl: Rc<OffscreenTopLevelImplBase>) -> Ref<Self>
Creates a top-level over an offscreen implementation and prepares it.
offscreen_impl
fn offscreen_impl(self: &Self) -> &Rc<OffscreenTopLevelImplBase>
The offscreen implementation of the top-level (C# Impl).
prepare
fn prepare(self: &Self)
Initializes the top-level, applies its template and runs the initial layout pass.
dispose
fn dispose(self: &Self)
Releases the platform implementation and tears the top-level down.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtContentControlImplExtControlImplExtTopLevelImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<OffscreenTopLevel>StaticTypeObjectTypeSubclassable<T>VisualImplLayoutableImplInteractiveImplInputElementImplControlImplTemplatedControlImplContentControlImplTopLevelImplFerroObjectImplStyledElementImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.