Skip to main content

CompositeElement

Trait CompositeElement 

Source
pub trait CompositeElement {
    // Required method
    fn element(&self, callback: impl CompositeElementCallback);
}

Required Methods§

Source

fn element(&self, callback: impl CompositeElementCallback)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, E: SerdeElement, F: for<'b> Index<&'b str, Output = Font>> CompositeElement for SerdeElementElement<'a, E, F>