[−][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: &Node) -> Option<Node>
[src]
Remove VNode from parent.
fn apply(
&mut self,
parent: &Node,
precursor: Option<&Node>,
ancestor: Option<VNode<Self::Component>>,
env: &Scope<Self::Component>
) -> Option<Node>
[src]
&mut self,
parent: &Node,
precursor: Option<&Node>,
ancestor: Option<VNode<Self::Component>>,
env: &Scope<Self::Component>
) -> Option<Node>
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: 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> 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]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl<COMP: Component> Debug for VNode<COMP>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: Any,
[src]
T: Any,