pub struct NodeList(/* private fields */);
Expand description
NodeList
objects are collections of nodes such as those returned by properties
such as INode::child_nodes and the
Document::query_selector_all method.
In some cases, the NodeList
is a live collection, which means that changes in the DOM
are reflected in the collection - for example INode::child_nodes is live.
In other cases, the NodeList
is a static collection, meaning any subsequent change
in the DOM does not affect the content of the collection - for example
Document::query_selector_all returns
a static NodeList
.
Implementations§
Trait Implementations§
Source§impl InstanceOf for NodeList
impl InstanceOf for NodeList
Source§impl<'a> IntoIterator for &'a NodeList
impl<'a> IntoIterator for &'a NodeList
Source§impl IntoIterator for NodeList
impl IntoIterator for NodeList
Source§impl ReferenceType for NodeList
impl ReferenceType for NodeList
Source§unsafe fn from_reference_unchecked(reference: Reference) -> Self
unsafe fn from_reference_unchecked(reference: Reference) -> Self
Converts a given reference into a concrete reference-like wrapper.
Doesn’t do any type checking; highly unsafe to use!
impl Eq for NodeList
impl JsSerialize for NodeList
impl StructuralPartialEq for NodeList
Auto Trait Implementations§
impl Freeze for NodeList
impl RefUnwindSafe for NodeList
impl Send for NodeList
impl Sync for NodeList
impl Unpin for NodeList
impl UnwindSafe for NodeList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more