BehaviorModel
struct · ferroui-designer-animation · v0.5.0
struct BehaviorModel
Members
id
id: Option<ferroui_designer_core::NodeId>
owner
owner: ferroui_designer_core::NodeId
trigger
trigger: BehaviorTrigger
actions
actions: Vec<BehaviorAction>
to_xaml
fn to_xaml(self: &Self) -> Result<String>
read
fn read(document: &Document, owner: NodeId) -> Result<Vec<Self>>
from_source
fn from_source(source: &str, owner: NodeId, id: Option<NodeId>) -> Result<Self>
plan
fn plan(self: &Self, document: &Document) -> Result<Vec<Edit>>
remove
fn remove(document: &Document, id: NodeId) -> Result<Vec<Edit>>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedDeserializeOwnedCloneDebugStructuralPartialEqPartialEqEqSerializeDeserialize<'de>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.