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.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<OverlayLayer>
Returns a strong reference to this object.
available_size
fn available_size(self: &Self) -> Size
The size the layer was last arranged with.
adorner_layer
fn adorner_layer(self: &Self) -> Option<Ref<AdornerLayer>>
The dedicated adorner layer for this overlay layer (internal upstream).
get_overlay_layer
fn get_overlay_layer(visual: &Visual) -> Option<Ref<OverlayLayer>>
Retrieves the overlay layer associated with the specified visual, if any.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeCanvasImplExtControlImplExtPanelImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<OverlayLayer>StaticTypeObjectTypeSubclassable<T>FerroObjectImplStyledElementImplInteractiveImplInputElementImplControlImplPanelImplCanvasImplVisualImplLayoutableImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.