Struct pinwheel::elements::svg::AElement [−][src]
pub struct AElement(_);
Implementations
pub fn future<F>(self, f: impl FnOnce(&Element) -> F) -> Self where
F: 'static + Future<Output = ()>,
pub fn attribute<T>(self, name: impl Into<Cow<'static, str>>, value: T) -> Self where
T: IntoAttributeValue,
pub fn attribute_signal<T, S>(
self,
name: impl Into<Cow<'static, str>>,
value: S
) -> Self where
T: IntoAttributeValue,
S: 'static + Unpin + Signal<Item = T>,
pub fn class_signal<S, T>(self, value: S) -> Self where
S: 'static + Unpin + Signal<Item = T>,
T: IntoOptionStringValue,
pub fn style<T>(self, name: impl Into<Cow<'static, str>>, value: T) -> Self where
T: IntoOptionStringValue,
pub fn style_signal<S, T>(
self,
name: impl Into<Cow<'static, str>>,
value: S
) -> Self where
S: 'static + Unpin + Signal<Item = T>,
T: IntoOptionStringValue,
pub fn event(
self,
name: impl Into<Cow<'static, str>>,
closure: impl 'static + FnMut(JsValue)
) -> Self
pub fn children<T, I>(self, children: I) -> Self where
T: Into<Node>,
I: IntoIterator<Item = T>,
pub fn child_signal<T, S>(self, signal: S) -> Self where
T: Into<Node>,
S: 'static + Unpin + Signal<Item = T>,
pub fn child_signal_vec<T, S>(self, signal_vec: S) -> Self where
T: Into<Node>,
S: 'static + Unpin + SignalVec<Item = T>,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AElement
impl UnwindSafe for AElement