FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RendererDiagnostics

    struct · ferroui-base · v0.5.0

    struct RendererDiagnostics
    

    Manages configurable diagnostics that can be displayed by a renderer.

    View source

    Members

    DEBUG_OVERLAYS_PROPERTY_NAME

    const DEBUG_OVERLAYS_PROPERTY_NAME: &'static str
    

    The name property_changed reports for debug_overlays.

    Source

    LAST_LAYOUT_PASS_TIMING_PROPERTY_NAME

    const LAST_LAYOUT_PASS_TIMING_PROPERTY_NAME: &'static str
    

    The name property_changed reports for last_layout_pass_timing.

    Source

    new

    fn new() -> Rc<RendererDiagnostics>
    

    Source

    debug_overlays

    fn debug_overlays(self: &Self) -> RendererDebugOverlays
    

    Gets which debug overlays are displayed by the renderer.

    Source

    set_debug_overlays

    fn set_debug_overlays(self: &Self, value: RendererDebugOverlays)
    

    Sets which debug overlays are displayed by the renderer.

    Source

    property_changed

    fn property_changed(self: &Self, handler: impl Fn(&RendererDiagnostics, &str) -> () + 'static) -> Subscription
    

    Occurs when a property value changes. The handler receives the name of the property. Dropping the returned guard removes the handler; Subscription::detach keeps it for the life of the diagnostics.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither

    Availability

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