FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BrowserAccessibility

    struct · ferroui-browser · v0.5.0

    struct BrowserAccessibility
    

    The accessibility tree of one view.

    View source

    Members

    of

    fn of(top_level: &Ref<TopLevel>) -> Option<Rc<BrowserAccessibility>>
    

    The tree of the view of a top-level: an application that does not keep its FerroView turns the mirror on or off through it.

    Source

    is_enabled

    fn is_enabled(self: &Self) -> bool
    

    Whether the tree is mirrored into the page.

    Source

    set_enabled

    fn set_enabled(self: &Self, enabled: bool)
    

    Turns the mirror on (the whole tree is sent at the next frame) or off (every element is removed and nothing is followed any more).

    Source

    element_count

    fn element_count(self: &Self) -> usize
    

    The number of peers with an element in the page.

    Source

    Trait implementations

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

    Availability

    Extracted for wasm32-unknown-emscripten, aarch64-apple-darwin. Cargo features are listed in the crate index.