FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<OffscreenTopLevel>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct(platform_impl: Rc<OffscreenTopLevelImplBase>) -> Self
    

    Field initialisation of a top-level over an offscreen implementation.

    Source

    new

    fn new(platform_impl: Rc<OffscreenTopLevelImplBase>) -> Ref<Self>
    

    Creates a top-level over an offscreen implementation and prepares it.

    Source

    offscreen_impl

    fn offscreen_impl(self: &Self) -> &Rc<OffscreenTopLevelImplBase>
    

    The offscreen implementation of the top-level (C# Impl).

    Source

    prepare

    fn prepare(self: &Self)
    

    Initializes the top-level, applies its template and runs the initial layout pass.

    Source

    dispose

    fn dispose(self: &Self)
    

    Releases the platform implementation and tears the top-level down.

    Source

    Trait implementations

    Availability

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