ElementBuilder
trait · ferroui-view · v0.5.0
trait ElementBuilder: Sized
The part of a builder the generated setters use.
Members
element_mut
fn element_mut(self: &mut Self) -> &mut ControlElement
The element being built.
prop
fn prop<P: TypedProperty + ?Sized, M>(self: Self, property: &'static P, value: impl IntoProp<<P as >::Value, M>) -> Self
Gives a property a value (the indexer control[Property] = value
upstream).
routed
fn routed<A: IRoutedEventArgs + 'static>(self: Self, event: &'static RoutedEvent<A>, handler: impl Fn(&Interactive, &A) -> () + 'static) -> Self
Handles a routed event; the handler gets the control that handles it and the arguments.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.