[−][src]Enum yew::virtual_dom::vnode::VNode
Bind virtual element to a DOM reference.
Variants
VTag(VTag<COMP>)
A bind between VTag
and Element
.
VText(VText<COMP>)
A bind between VText
and TextNode
.
VComp(VComp<COMP>)
A bind between VComp
and Element
.
VList(VList<COMP>)
A holder for a list of other nodes.
VRef(Node)
A holder for any Node
(necessary for replacing node).
Trait Implementations
impl<COMP: Component> VDiff for VNode<COMP>
[src]
type Component = COMP
The component which this instance put into.
fn detach(&mut self, parent: &Element) -> Option<Node>
[src]
Remove VNode from parent.
fn apply(
&mut self,
parent: &Element,
precursor: Option<&Node>,
ancestor: Option<VNode<Self::Component>>,
env: &Scope<Self::Component>
) -> Option<Node>
[src]
&mut self,
parent: &Element,
precursor: Option<&Node>,
ancestor: Option<VNode<Self::Component>>,
env: &Scope<Self::Component>
) -> Option<Node>
impl<COMP: Component> PartialEq<VNode<COMP>> for VNode<COMP>
[src]
fn eq(&self, other: &VNode<COMP>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<COMP: Component> From<VText<COMP>> for VNode<COMP>
[src]
impl<COMP: Component> From<VList<COMP>> for VNode<COMP>
[src]
impl<COMP: Component> From<VTag<COMP>> for VNode<COMP>
[src]
impl<COMP: Component> From<VComp<COMP>> for VNode<COMP>
[src]
impl<COMP, CHILD> From<VChild<CHILD, COMP>> for VNode<COMP> where
COMP: Component,
CHILD: Component + Renderable<CHILD>,
[src]
COMP: Component,
CHILD: Component + Renderable<CHILD>,
impl<COMP: Component, T: ToString> From<T> for VNode<COMP>
[src]
impl<'a, COMP: Component> From<&'a (dyn Renderable<COMP> + 'a)> for VNode<COMP>
[src]
fn from(value: &'a dyn Renderable<COMP>) -> Self
[src]
impl<COMP: Component> Debug for VNode<COMP>
[src]
impl<COMP: Component, A: Into<VNode<COMP>>> FromIterator<A> for VNode<COMP>
[src]
fn from_iter<T: IntoIterator<Item = A>>(iter: T) -> Self
[src]
Auto Trait Implementations
impl<COMP> !Sync for VNode<COMP>
impl<COMP> !Send for VNode<COMP>
impl<COMP> Unpin for VNode<COMP> where
COMP: Unpin,
COMP: Unpin,
impl<COMP> !UnwindSafe for VNode<COMP>
impl<COMP> !RefUnwindSafe for VNode<COMP>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,