pub trait ISlotable: ReferenceType {
// Provided method
fn assigned_slot(&self) -> Option<SlotElement> { ... }
}
Expand description
The Slotable mixin defines features that allow nodes to become the contents of
a <slot>
element — the following features are included in both Element and Text.
Provided Methods§
Sourcefn assigned_slot(&self) -> Option<SlotElement>
fn assigned_slot(&self) -> Option<SlotElement>
returns a SlotElement
representing the <slot>
element the node is inserted in.
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.