Skip to main content

DomSlice

Trait DomSlice 

Source
pub(crate) trait DomSlice<T>
where T: Traceable + DomObject,
{ // Required method fn r(&self) -> &[&T]; }
Expand description

Get a slice of references to DOM objects.

Required Methods§

Source

fn r(&self) -> &[&T]

Returns the slice of T references.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> DomSlice<T> for [Dom<T>]
where T: Traceable + DomObject,

Source§

fn r(&self) -> &[&T]

Implementors§