Skip to main content

ObjectSpreadTarget

Trait ObjectSpreadTarget 

Source
pub trait ObjectSpreadTarget { }
Available on crate feature prelude only.
Expand description

Marker for catch-all attribute targets (e.g. #[props(extends = ...)] spread builders) that accept this element’s attributes. Implementing it grants the element’s attribute methods.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§