FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FerroView

    struct · ferroui-android · v0.5.0

    struct FerroView
    

    View source

    Members

    accessibility_virtual_view_id

    fn accessibility_virtual_view_id(self: &Self, control: &Control) -> i32
    

    The number of the virtual view that stands for a control in the accessibility tree of the view: what the node provider of the Java view (View.getAccessibilityNodeProvider) is asked for the node of the control with. An addition of the port, for an application that tests itself.

    Source

    top_level

    fn top_level(self: &Self) -> Option<Ref<TopLevel>>
    

    The top-level of the view; None once the view is disposed.

    Source

    content

    fn content(self: &Self) -> Option<BoxedValue>
    

    The content of the view.

    Source

    set_content

    fn set_content(self: &Self, value: Option<BoxedValue>)
    

    Sets the content of the view.

    Source

    dispose

    fn dispose(self: &Self)
    

    Releases the top-level of the view. The view cannot be used afterwards.

    Source

    Trait implementations

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

    Availability

    Extracted for aarch64-linux-android. Cargo features are listed in the crate index.