pub struct AnyNodeRef(/* private fields */);
Expand description
A reactive reference to a DOM node that can be used with the node_ref
attribute.
Implementations§
Source§impl AnyNodeRef
impl AnyNodeRef
Trait Implementations§
Source§impl Clone for AnyNodeRef
impl Clone for AnyNodeRef
Source§impl Debug for AnyNodeRef
impl Debug for AnyNodeRef
Source§impl Default for AnyNodeRef
impl Default for AnyNodeRef
Source§impl DefinedAt for AnyNodeRef
impl DefinedAt for AnyNodeRef
Source§fn defined_at(&self) -> Option<&'static Location<'static>>
fn defined_at(&self) -> Option<&'static Location<'static>>
Returns the location at which the signal was defined. This is usually simply
None
in
release mode.Source§impl NodeRefContainer<A> for AnyNodeRef
impl NodeRefContainer<A> for AnyNodeRef
Source§impl NodeRefContainer<Abbr> for AnyNodeRef
impl NodeRefContainer<Abbr> for AnyNodeRef
Source§impl NodeRefContainer<Address> for AnyNodeRef
impl NodeRefContainer<Address> for AnyNodeRef
Source§impl NodeRefContainer<Area> for AnyNodeRef
impl NodeRefContainer<Area> for AnyNodeRef
Source§impl NodeRefContainer<Article> for AnyNodeRef
impl NodeRefContainer<Article> for AnyNodeRef
Source§impl NodeRefContainer<Aside> for AnyNodeRef
impl NodeRefContainer<Aside> for AnyNodeRef
Source§impl NodeRefContainer<Audio> for AnyNodeRef
impl NodeRefContainer<Audio> for AnyNodeRef
Source§impl NodeRefContainer<B> for AnyNodeRef
impl NodeRefContainer<B> for AnyNodeRef
Source§impl NodeRefContainer<Base> for AnyNodeRef
impl NodeRefContainer<Base> for AnyNodeRef
Source§impl NodeRefContainer<Bdi> for AnyNodeRef
impl NodeRefContainer<Bdi> for AnyNodeRef
Source§impl NodeRefContainer<Bdo> for AnyNodeRef
impl NodeRefContainer<Bdo> for AnyNodeRef
Source§impl NodeRefContainer<Blockquote> for AnyNodeRef
impl NodeRefContainer<Blockquote> for AnyNodeRef
Source§impl NodeRefContainer<Body> for AnyNodeRef
impl NodeRefContainer<Body> for AnyNodeRef
Source§impl NodeRefContainer<Br> for AnyNodeRef
impl NodeRefContainer<Br> for AnyNodeRef
Source§impl NodeRefContainer<Button> for AnyNodeRef
impl NodeRefContainer<Button> for AnyNodeRef
Source§impl NodeRefContainer<Canvas> for AnyNodeRef
impl NodeRefContainer<Canvas> for AnyNodeRef
Source§impl NodeRefContainer<Caption> for AnyNodeRef
impl NodeRefContainer<Caption> for AnyNodeRef
Source§impl NodeRefContainer<Cite> for AnyNodeRef
impl NodeRefContainer<Cite> for AnyNodeRef
Source§impl NodeRefContainer<Code> for AnyNodeRef
impl NodeRefContainer<Code> for AnyNodeRef
Source§impl NodeRefContainer<Col> for AnyNodeRef
impl NodeRefContainer<Col> for AnyNodeRef
Source§impl NodeRefContainer<Colgroup> for AnyNodeRef
impl NodeRefContainer<Colgroup> for AnyNodeRef
Source§impl NodeRefContainer<Data> for AnyNodeRef
impl NodeRefContainer<Data> for AnyNodeRef
Source§impl NodeRefContainer<Datalist> for AnyNodeRef
impl NodeRefContainer<Datalist> for AnyNodeRef
Source§impl NodeRefContainer<Dd> for AnyNodeRef
impl NodeRefContainer<Dd> for AnyNodeRef
Source§impl NodeRefContainer<Del> for AnyNodeRef
impl NodeRefContainer<Del> for AnyNodeRef
Source§impl NodeRefContainer<Details> for AnyNodeRef
impl NodeRefContainer<Details> for AnyNodeRef
Source§impl NodeRefContainer<Dfn> for AnyNodeRef
impl NodeRefContainer<Dfn> for AnyNodeRef
Source§impl NodeRefContainer<Dialog> for AnyNodeRef
impl NodeRefContainer<Dialog> for AnyNodeRef
Source§impl NodeRefContainer<Div> for AnyNodeRef
impl NodeRefContainer<Div> for AnyNodeRef
Source§impl NodeRefContainer<Dl> for AnyNodeRef
impl NodeRefContainer<Dl> for AnyNodeRef
Source§impl NodeRefContainer<Dt> for AnyNodeRef
impl NodeRefContainer<Dt> for AnyNodeRef
Source§impl NodeRefContainer<Em> for AnyNodeRef
impl NodeRefContainer<Em> for AnyNodeRef
Source§impl NodeRefContainer<Embed> for AnyNodeRef
impl NodeRefContainer<Embed> for AnyNodeRef
Source§impl NodeRefContainer<Fieldset> for AnyNodeRef
impl NodeRefContainer<Fieldset> for AnyNodeRef
Source§impl NodeRefContainer<Figure> for AnyNodeRef
impl NodeRefContainer<Figure> for AnyNodeRef
Source§impl NodeRefContainer<Form> for AnyNodeRef
impl NodeRefContainer<Form> for AnyNodeRef
Source§impl NodeRefContainer<H1> for AnyNodeRef
impl NodeRefContainer<H1> for AnyNodeRef
Source§impl NodeRefContainer<H2> for AnyNodeRef
impl NodeRefContainer<H2> for AnyNodeRef
Source§impl NodeRefContainer<H3> for AnyNodeRef
impl NodeRefContainer<H3> for AnyNodeRef
Source§impl NodeRefContainer<H4> for AnyNodeRef
impl NodeRefContainer<H4> for AnyNodeRef
Source§impl NodeRefContainer<H5> for AnyNodeRef
impl NodeRefContainer<H5> for AnyNodeRef
Source§impl NodeRefContainer<H6> for AnyNodeRef
impl NodeRefContainer<H6> for AnyNodeRef
Source§impl NodeRefContainer<Head> for AnyNodeRef
impl NodeRefContainer<Head> for AnyNodeRef
Source§impl NodeRefContainer<Header> for AnyNodeRef
impl NodeRefContainer<Header> for AnyNodeRef
Source§impl NodeRefContainer<Hgroup> for AnyNodeRef
impl NodeRefContainer<Hgroup> for AnyNodeRef
Source§impl NodeRefContainer<Hr> for AnyNodeRef
impl NodeRefContainer<Hr> for AnyNodeRef
Source§impl NodeRefContainer<Html> for AnyNodeRef
impl NodeRefContainer<Html> for AnyNodeRef
Source§impl NodeRefContainer<I> for AnyNodeRef
impl NodeRefContainer<I> for AnyNodeRef
Source§impl NodeRefContainer<Iframe> for AnyNodeRef
impl NodeRefContainer<Iframe> for AnyNodeRef
Source§impl NodeRefContainer<Img> for AnyNodeRef
impl NodeRefContainer<Img> for AnyNodeRef
Source§impl NodeRefContainer<Input> for AnyNodeRef
impl NodeRefContainer<Input> for AnyNodeRef
Source§impl NodeRefContainer<Ins> for AnyNodeRef
impl NodeRefContainer<Ins> for AnyNodeRef
Source§impl NodeRefContainer<Kbd> for AnyNodeRef
impl NodeRefContainer<Kbd> for AnyNodeRef
Source§impl NodeRefContainer<Label> for AnyNodeRef
impl NodeRefContainer<Label> for AnyNodeRef
Source§impl NodeRefContainer<Legend> for AnyNodeRef
impl NodeRefContainer<Legend> for AnyNodeRef
Source§impl NodeRefContainer<Li> for AnyNodeRef
impl NodeRefContainer<Li> for AnyNodeRef
Source§impl NodeRefContainer<Link> for AnyNodeRef
impl NodeRefContainer<Link> for AnyNodeRef
Source§impl NodeRefContainer<Main> for AnyNodeRef
impl NodeRefContainer<Main> for AnyNodeRef
Source§impl NodeRefContainer<Map> for AnyNodeRef
impl NodeRefContainer<Map> for AnyNodeRef
Source§impl NodeRefContainer<Mark> for AnyNodeRef
impl NodeRefContainer<Mark> for AnyNodeRef
Source§impl NodeRefContainer<Menu> for AnyNodeRef
impl NodeRefContainer<Menu> for AnyNodeRef
Source§impl NodeRefContainer<Meta> for AnyNodeRef
impl NodeRefContainer<Meta> for AnyNodeRef
Source§impl NodeRefContainer<Meter> for AnyNodeRef
impl NodeRefContainer<Meter> for AnyNodeRef
Source§impl NodeRefContainer<Noscript> for AnyNodeRef
impl NodeRefContainer<Noscript> for AnyNodeRef
Source§impl NodeRefContainer<Object> for AnyNodeRef
impl NodeRefContainer<Object> for AnyNodeRef
Source§impl NodeRefContainer<Ol> for AnyNodeRef
impl NodeRefContainer<Ol> for AnyNodeRef
Source§impl NodeRefContainer<Optgroup> for AnyNodeRef
impl NodeRefContainer<Optgroup> for AnyNodeRef
Source§impl NodeRefContainer<Option_> for AnyNodeRef
impl NodeRefContainer<Option_> for AnyNodeRef
Source§impl NodeRefContainer<Output> for AnyNodeRef
impl NodeRefContainer<Output> for AnyNodeRef
Source§impl NodeRefContainer<P> for AnyNodeRef
impl NodeRefContainer<P> for AnyNodeRef
Source§impl NodeRefContainer<Picture> for AnyNodeRef
impl NodeRefContainer<Picture> for AnyNodeRef
Source§impl NodeRefContainer<Portal> for AnyNodeRef
impl NodeRefContainer<Portal> for AnyNodeRef
Source§impl NodeRefContainer<Pre> for AnyNodeRef
impl NodeRefContainer<Pre> for AnyNodeRef
Source§impl NodeRefContainer<Progress> for AnyNodeRef
impl NodeRefContainer<Progress> for AnyNodeRef
Source§impl NodeRefContainer<Q> for AnyNodeRef
impl NodeRefContainer<Q> for AnyNodeRef
Source§impl NodeRefContainer<Rp> for AnyNodeRef
impl NodeRefContainer<Rp> for AnyNodeRef
Source§impl NodeRefContainer<Rt> for AnyNodeRef
impl NodeRefContainer<Rt> for AnyNodeRef
Source§impl NodeRefContainer<Ruby> for AnyNodeRef
impl NodeRefContainer<Ruby> for AnyNodeRef
Source§impl NodeRefContainer<S> for AnyNodeRef
impl NodeRefContainer<S> for AnyNodeRef
Source§impl NodeRefContainer<Samp> for AnyNodeRef
impl NodeRefContainer<Samp> for AnyNodeRef
Source§impl NodeRefContainer<Script> for AnyNodeRef
impl NodeRefContainer<Script> for AnyNodeRef
Source§impl NodeRefContainer<Search> for AnyNodeRef
impl NodeRefContainer<Search> for AnyNodeRef
Source§impl NodeRefContainer<Section> for AnyNodeRef
impl NodeRefContainer<Section> for AnyNodeRef
Source§impl NodeRefContainer<Select> for AnyNodeRef
impl NodeRefContainer<Select> for AnyNodeRef
Source§impl NodeRefContainer<Slot> for AnyNodeRef
impl NodeRefContainer<Slot> for AnyNodeRef
Source§impl NodeRefContainer<Small> for AnyNodeRef
impl NodeRefContainer<Small> for AnyNodeRef
Source§impl NodeRefContainer<Source> for AnyNodeRef
impl NodeRefContainer<Source> for AnyNodeRef
Source§impl NodeRefContainer<Span> for AnyNodeRef
impl NodeRefContainer<Span> for AnyNodeRef
Source§impl NodeRefContainer<Strong> for AnyNodeRef
impl NodeRefContainer<Strong> for AnyNodeRef
Source§impl NodeRefContainer<Style> for AnyNodeRef
impl NodeRefContainer<Style> for AnyNodeRef
Source§impl NodeRefContainer<Sub> for AnyNodeRef
impl NodeRefContainer<Sub> for AnyNodeRef
Source§impl NodeRefContainer<Summary> for AnyNodeRef
impl NodeRefContainer<Summary> for AnyNodeRef
Source§impl NodeRefContainer<Sup> for AnyNodeRef
impl NodeRefContainer<Sup> for AnyNodeRef
Source§impl NodeRefContainer<Table> for AnyNodeRef
impl NodeRefContainer<Table> for AnyNodeRef
Source§impl NodeRefContainer<Tbody> for AnyNodeRef
impl NodeRefContainer<Tbody> for AnyNodeRef
Source§impl NodeRefContainer<Td> for AnyNodeRef
impl NodeRefContainer<Td> for AnyNodeRef
Source§impl NodeRefContainer<Template> for AnyNodeRef
impl NodeRefContainer<Template> for AnyNodeRef
Source§impl NodeRefContainer<Textarea> for AnyNodeRef
impl NodeRefContainer<Textarea> for AnyNodeRef
Source§impl NodeRefContainer<Tfoot> for AnyNodeRef
impl NodeRefContainer<Tfoot> for AnyNodeRef
Source§impl NodeRefContainer<Th> for AnyNodeRef
impl NodeRefContainer<Th> for AnyNodeRef
Source§impl NodeRefContainer<Thead> for AnyNodeRef
impl NodeRefContainer<Thead> for AnyNodeRef
Source§impl NodeRefContainer<Time> for AnyNodeRef
impl NodeRefContainer<Time> for AnyNodeRef
Source§impl NodeRefContainer<Title> for AnyNodeRef
impl NodeRefContainer<Title> for AnyNodeRef
Source§impl NodeRefContainer<Tr> for AnyNodeRef
impl NodeRefContainer<Tr> for AnyNodeRef
Source§impl NodeRefContainer<Track> for AnyNodeRef
impl NodeRefContainer<Track> for AnyNodeRef
Source§impl NodeRefContainer<U> for AnyNodeRef
impl NodeRefContainer<U> for AnyNodeRef
Source§impl NodeRefContainer<Ul> for AnyNodeRef
impl NodeRefContainer<Ul> for AnyNodeRef
Source§impl NodeRefContainer<Var> for AnyNodeRef
impl NodeRefContainer<Var> for AnyNodeRef
Source§impl NodeRefContainer<Video> for AnyNodeRef
impl NodeRefContainer<Video> for AnyNodeRef
Source§impl NodeRefContainer<Wbr> for AnyNodeRef
impl NodeRefContainer<Wbr> for AnyNodeRef
Source§impl ReadUntracked for AnyNodeRef
impl ReadUntracked for AnyNodeRef
Source§type Value = ReadGuard<Option<Element>, Derefable<Option<Element>>>
type Value = ReadGuard<Option<Element>, Derefable<Option<Element>>>
The guard type that will be returned, which can be dereferenced to the value.
Source§fn try_read_untracked(&self) -> Option<Self::Value>
fn try_read_untracked(&self) -> Option<Self::Value>
Returns the guard, or
None
if the signal has already been disposed.Source§fn read_untracked(&self) -> Self::Value
fn read_untracked(&self) -> Self::Value
Returns the guard. Read more
Source§fn custom_try_read(&self) -> Option<Option<Self::Value>>
fn custom_try_read(&self) -> Option<Option<Self::Value>>
This is a backdoor to allow overriding the
Read::try_read
implementation despite it being auto implemented. Read moreSource§impl Track for AnyNodeRef
impl Track for AnyNodeRef
impl Copy for AnyNodeRef
Auto Trait Implementations§
impl Freeze for AnyNodeRef
impl RefUnwindSafe for AnyNodeRef
impl Send for AnyNodeRef
impl Sync for AnyNodeRef
impl Unpin for AnyNodeRef
impl UnwindSafe for AnyNodeRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Get for T
impl<T> Get for T
Source§impl<T> GetUntracked for T
impl<T> GetUntracked for T
Source§type Value = <T as WithUntracked>::Value
type Value = <T as WithUntracked>::Value
The type of the value contained in the signal.
Source§fn try_get_untracked(&self) -> Option<<T as GetUntracked>::Value>
fn try_get_untracked(&self) -> Option<<T as GetUntracked>::Value>
Clones and returns the value of the signal,
or
None
if the signal has already been disposed.Source§fn get_untracked(&self) -> Self::Value
fn get_untracked(&self) -> Self::Value
Clones and returns the value of the signal, Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Read for Twhere
T: Track + ReadUntracked,
impl<T> Read for Twhere
T: Track + ReadUntracked,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.
Source§impl<T> With for Twhere
T: Read,
impl<T> With for Twhere
T: Read,
Source§type Value = <<T as Read>::Value as Deref>::Target
type Value = <<T as Read>::Value as Deref>::Target
The type of the value contained in the signal.
Source§impl<T> WithUntracked for Twhere
T: DefinedAt + ReadUntracked,
impl<T> WithUntracked for Twhere
T: DefinedAt + ReadUntracked,
Source§type Value = <<T as ReadUntracked>::Value as Deref>::Target
type Value = <<T as ReadUntracked>::Value as Deref>::Target
The type of the value contained in the signal.
Source§fn try_with_untracked<U>(
&self,
fun: impl FnOnce(&<T as WithUntracked>::Value) -> U,
) -> Option<U>
fn try_with_untracked<U>( &self, fun: impl FnOnce(&<T as WithUntracked>::Value) -> U, ) -> Option<U>
Applies the closure to the value, and returns the result,
or
None
if the signal has already been disposed.