FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MainView

    struct · ferroui-diagnostics · v0.5.0

    struct MainView
    

    The main view of the developer tools: the menu, the tabs of the pages, the content of the selected tab and the status bar.

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

    Returns a strong reference to this object.

    Source

    DOCUMENT_URI

    const DOCUMENT_URI: &'static str
    

    The URI of the document of the class.

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Creates the view and populates it from its document (InitializeComponent(): the compiled markup of the document, which the build of the crate generates).

    Panics

    Panics when the document fails to load (an exception of the constructor in the original).

    Source

    Trait implementations

    Availability

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