ActionCollectionTemplate
struct · ferroui-xaml-interactivity · v0.5.0
struct ActionCollectionTemplate
A template for creating a collection of IAction objects.
As the value of a style setter of the Actions of a
StyledElementTrigger it builds a new collection for each
trigger the style applies to.
Members
new
fn new() -> Rc<Self>
Creates an empty template.
content
fn content(self: &Self) -> Option<BoxedValue>
Gets or sets the content of the template: deferred content built on each
build.
set_content
fn set_content(self: &Self, value: Option<BoxedValue>)
build
fn build(self: &Self) -> Option<ActionCollection>
Builds the collection of actions from the template.
Panics
Panics if the content is not template content, or builds something else than a collection of actions.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyAnyValueClassDefaultsErasedDestructorIntoEitherDefaultITemplatePartialEqMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.