Skip to main content

Part

Trait Part 

Source
pub trait Part {
    // Required method
    fn apply(self, el: &mut Element);
}
Expand description

Something that can be placed inside an element macro.

Required Methods§

Source

fn apply(self, el: &mut Element)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Part for Vec<Attr>

Source§

fn apply(self, el: &mut Element)

Implementors§

Source§

impl Part for ActionRef

Source§

impl Part for Attr

Source§

impl<V> Part for V
where V: View,