FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    OverlayLayer

    struct · ferroui-controls · v0.5.0

    struct OverlayLayer
    

    Represents a surface for showing overlays. Overlays are displayed on top of other elements, but behind popups.

    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<OverlayLayer>
    

    Returns a strong reference to this object.

    Source

    available_size

    fn available_size(self: &Self) -> Size
    

    The size the layer was last arranged with.

    Source

    adorner_layer

    fn adorner_layer(self: &Self) -> Option<Ref<AdornerLayer>>
    

    The dedicated adorner layer for this overlay layer (internal upstream).

    Source

    get_overlay_layer

    fn get_overlay_layer(visual: &Visual) -> Option<Ref<OverlayLayer>>
    

    Retrieves the overlay layer associated with the specified visual, if any.

    Source

    Trait implementations

    Availability

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