FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PreviewPrototypeView

    struct · ferroui-designer · v0.5.0

    struct PreviewPrototypeView
    

    View source

    Members

    new

    fn new(_palette: &Control) -> Rc<Self>
    

    Source

    control

    fn control(self: &Self) -> Ref<Control>
    

    Source

    on_action

    fn on_action(self: &Self, callback: impl Fn(PreviewPrototypeViewAction, u64, Ref<Control>) -> Result<(), String> + 'static)
    

    Source

    show_error

    fn show_error(self: &Self, message: &str)
    

    Source

    selected_flow

    fn selected_flow(self: &Self) -> Option<usize>
    

    Source

    set_query

    fn set_query(self: &Self, query: &str)
    

    Source

    select_flow

    fn select_flow(self: &Self, index: Option<usize>)
    

    Source

    update

    fn update(self: &Rc<Self>, prototype: &PreviewPrototype, stages: &[PreviewStageInfo], epoch: u64)
    

    Source

    Trait implementations

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

    Availability

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