FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BehaviorModel

    struct · ferroui-designer-animation · v0.5.0

    struct BehaviorModel
    

    View source

    Members

    id

    id: Option<ferroui_designer_core::NodeId>
    

    Source

    owner

    owner: ferroui_designer_core::NodeId
    

    Source

    trigger

    trigger: BehaviorTrigger
    

    Source

    actions

    actions: Vec<BehaviorAction>
    

    Source

    to_xaml

    fn to_xaml(self: &Self) -> Result<String>
    

    Source

    read

    fn read(document: &Document, owner: NodeId) -> Result<Vec<Self>>
    

    Source

    from_source

    fn from_source(source: &str, owner: NodeId, id: Option<NodeId>) -> Result<Self>
    

    Source

    plan

    fn plan(self: &Self, document: &Document) -> Result<Vec<Edit>>
    

    Source

    remove

    fn remove(document: &Document, id: NodeId) -> Result<Vec<Edit>>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • DeserializeOwned
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Serialize
    • Deserialize<'de>

    Availability

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