pub trait AsChildrenSlice {
type Child;
// Required method
fn as_children_slice(&self) -> &[Self::Child];
}
Expand description
Represents a trait that provides the ability to get the children of an element as a slice
Required Associated Types§
Required Methods§
Sourcefn as_children_slice(&self) -> &[Self::Child]
fn as_children_slice(&self) -> &[Self::Child]
Returns a slice to children contained within