pub struct HtmlCollection(/* private fields */);
Expand description
The HtmlCollection
interface represents a generic collection
(array-like object similar to arguments) of elements (in document order)
and offers methods and properties for selecting from the list.
An HtmlCollection
in the HTML DOM is live; it is automatically
updated when the underlying document is changed.
Implementations§
Trait Implementations§
Source§impl AsRef<Reference> for HtmlCollection
impl AsRef<Reference> for HtmlCollection
Source§impl Clone for HtmlCollection
impl Clone for HtmlCollection
Source§fn clone(&self) -> HtmlCollection
fn clone(&self) -> HtmlCollection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HtmlCollection
impl Debug for HtmlCollection
Source§impl From<HtmlCollection> for Reference
impl From<HtmlCollection> for Reference
Source§fn from(value: HtmlCollection) -> Self
fn from(value: HtmlCollection) -> Self
Converts to this type from the input type.
Source§impl InstanceOf for HtmlCollection
impl InstanceOf for HtmlCollection
Source§impl<'a> IntoIterator for &'a HtmlCollection
impl<'a> IntoIterator for &'a HtmlCollection
Source§impl IntoIterator for HtmlCollection
impl IntoIterator for HtmlCollection
Source§impl PartialEq for HtmlCollection
impl PartialEq for HtmlCollection
Source§impl ReferenceType for HtmlCollection
impl ReferenceType for HtmlCollection
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!
Source§impl<'_r> TryFrom<&'_r Reference> for HtmlCollection
impl<'_r> TryFrom<&'_r Reference> for HtmlCollection
Source§impl<'_r> TryFrom<&'_r Value> for HtmlCollection
impl<'_r> TryFrom<&'_r Value> for HtmlCollection
Source§impl TryFrom<HtmlCollection> for Reference
impl TryFrom<HtmlCollection> for Reference
Source§impl TryFrom<Reference> for HtmlCollection
impl TryFrom<Reference> for HtmlCollection
Source§impl TryFrom<Value> for HtmlCollection
impl TryFrom<Value> for HtmlCollection
impl Eq for HtmlCollection
impl JsSerialize for HtmlCollection
impl StructuralPartialEq for HtmlCollection
Auto Trait Implementations§
impl Freeze for HtmlCollection
impl RefUnwindSafe for HtmlCollection
impl Send for HtmlCollection
impl Sync for HtmlCollection
impl Unpin for HtmlCollection
impl UnwindSafe for HtmlCollection
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